allenai / allenai/interactron

Wrong label for objects in visualizations

オープン
#4 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
45
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。