weii41392 / AQT

AQT: Adversarial Query Transformers for Domain Adaptive Object Detection
Apache License 2.0
13 stars 1 forks source link

fix label name mismatch in data covert #4

Open Weijiang-Xiong opened 2 years ago

Weijiang-Xiong commented 2 years ago

cityscapes use the words motorcycle and bicycle, while coco uses motor and bike. This difference in names caused a bug in the conversion script, and the resulting json has no motor and bike at all. so I think a simple fix could be renaming the default values for categories in function cityscapes_to_coco

categories: tuple = ( "person", "rider", "car", "truck", "bus", "train", "motorcycle", "bicycle")

Weijiang-Xiong commented 2 years ago

I think https://github.com/weii41392/AQT/issues/3 also mentioned this. but anyway thanks for your script