allenai / allenai/interactron

Wrong label for objects in visualizations

Abierto
#4 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
45
Forks
6
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.