SysCV / shift-detection-tta

This repository implements continuous test-time adaptation algorithms for object detection on the SHIFT dataset.
MIT License
18 stars 2 forks source link

No 'attributes' in det_2d_cocoformat.json #11

Closed ta3h30nk1m closed 11 months ago

ta3h30nk1m commented 11 months ago

I installed all the modules as required and prepared shift dataset However, when I tried to run example train code, CUDA_VISIBLE_DEVICES=2 python tools/train.py configs/source/yolox/amp_yolox_x_8xb4-24e_shift_clear_daytime.py

key error occurred during data loading

I found out that 'det_2d_cocoformat.json' file doesn't contain 'attributes' for each data

These are the keys of dictionary inside 'det_2d_cocoformat.sjon':

It seems like we need attributes for choosing data having specific attributes Please tell me how to solve this problem