coldmanck / VidHOI

Official implementation of "ST-HOI: A Spatial-Temporal Baseline for Human-Object Interaction Detection in Videos" (ACM ICMRW 2021)
https://dl.acm.org/doi/10.1145/3463944.3469097
Apache License 2.0
50 stars 12 forks source link

Missing parameters 'orig_video_idx' in the output json #7

Closed xiaoxiaoczw closed 2 years ago

xiaoxiaoczw commented 2 years ago

hi,

thank you for your excellent work! When I ran vidor_eval.ipynb, I found that 'orig_video_idx'parameter was missing in the output json file you provided. Did I ignore the correct file? Thanks!

coldmanck commented 2 years ago

Hi @xiaoxiaoczw Thank you for your interest in our work!

I doubt the missing orig_video_idx variable would have any impact on running vidor_eval.ipynb. Please comment out the code lines including is_demo and try again. Do let me know if you find anything weird then :)

xiaoxiaoczw commented 2 years ago

Hi,

But in addition to is_demo, orig_video_idxparameter still needs to be used to locate img-path.

img_path = 'slowfast/datasets/vidor/frames/' + res[idx]['orig_video_idx'][0] + '.jpg'
jhj7905 commented 1 year ago

@xiaoxiaoczw I confirmed the vidor_eval.ipynb and test_net_vidor.py. Finally I knew that you should run the test_net_vidor.py with cfg.DEMO.ENABLE_ALL True. Then you can get the json file including orig_video_idx key.