allenai / allenai/interactron

Wrong label for objects in visualizations

Aperta
#4 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
45
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Excellent work! Thanks very much for releasing the codes!
I am trying to evaluate the Interaction with the following command:
```shell
python evaluate.py --config=configs/interactron.yaml
```
But the visualizations seems weird

![pos= -0 25,0 91,0 25 _rot= 240deg](https://user-images.githubusercontent.com/62320020/197149466-13658598-4513-4510-9d66-f05430746402.jpg)

After checking `tlvis_classes` in `utils/constants.py`, I find hat the index of wrongly-marked label is next to the 'real' label:

截屏2022-10-21 下午4 39 35
截屏2022-10-21 下午4 41 47

In conclusion, directly using category to index its text in `tlvis_classes` leads to the wrong labelling. To address this issue, I add a dummy item to `tlvis_classes`, and the visualisations look fine later.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.