xingyizhou / GTR

Global Tracking Transformers, CVPR 2022
375 stars 57 forks source link

Typo near bottom of datasets/README.md #20

Open akamboj2 opened 2 years ago

akamboj2 commented 2 years ago

using python tools/move_tao_keyframes.py --gt datasets/tao/annotations/validation.json --img_dir datasets/tao/frames --img_dir datasets/tao/keyframes gives error:

0 36375
No exists! datasets/tao/keyframes/val/YFCC100M/v_25685519b728afd746dfd1b2fe77c/frame0751.jpg
Traceback (most recent call last):
  File "tools/move_tao_keyframes.py", line 19, in <module>
    target_path = args.out_dir + '/' + image['file_name']
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

i think you all meant --out_dir datasets/tao/keyframes: python tools/move_tao_keyframes.py --gt datasets/tao/annotations/validation.json --img_dir datasets/tao/frames --out_dir datasets/tao/keyframes