allenai / allenai/interactron

Wrong label for objects in visualizations

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
45
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.