got-10k / toolkit

Official Python toolkit for generic object tracking benchmark GOT-10k and beyond
http://got-10k.aitestunion.com/
MIT License
556 stars 95 forks source link

Assertion Error Report when running VOT2019 evaluation. #42

Open FadedFate opened 4 years ago

FadedFate commented 4 years ago

Hi there, my qusetion is about the VOT evaluation problem. When I try to run the VOT2019 evaluation, got10k raises an assertion error.

File "/usr/local/anaconda3/lib/python3.6/site-packages/got10k-0.1.3-py3.6.egg/got10k/datasets/vot.py", line 81, in __getitem__                                                           
    assert len(img_files) == len(anno), (len(img_files), len(anno))                         
AssertionError: (0, 100)   

And I guess problem may be caused by got10k/datasets/vot.py, line 78:

img_files = sorted(glob.glob(os.path.join(self.seq_dirs[index], 'color', '*.jpg')))

I also check the former got10k version because I didn't encounter this problem before update, and it looks like most VOT (maybe except RGBT2019) don't need path "/color/" and it causes img_files become empty. Thus I wonder whether there may be a conflict bug after adding the VOTRGB support.