jayleicn / moment_detr

[NeurIPS 2021] Moment-DETR code and QVHighlights dataset
https://arxiv.org/abs/2107.09609
MIT License
267 stars 44 forks source link

CodaLab Submission Error #1

Closed vateye closed 3 years ago

vateye commented 3 years ago

Hi, I recently generate the test results and validation results on CodaLab as the following structure.

--Submit.zip
----hl_val_submission.jsonl
----hl_test_submission.jsonl

The CodaLab gave me the error IOError: [Errno 2] No such file or directory: '/tmp/codalab/tmphfqu8Q/run/input/res/hl_test_submission.jsonl'

How can I solve this problem?

jayleicn commented 3 years ago

Hi @vateye, Did you have an enclosing directory for these two files? The eval script expects no directory for the files.

vateye commented 3 years ago

Hi @vateye, Did you have an enclosing directory for these two files? The eval script expects no directory for the files.

Yes, I just place the two files under res folder, and use zip -r submission.zip ./res/* to pack the files.

jayleicn commented 3 years ago

There is no need to place them under res, this res is an internal dir used by CodaLab. Select the two files directly and zip them.