allenai / allenai/interactron

Wrong label for objects in visualizations

Offen
#4 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
45
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.