NTIRE 2022 Image Inpainting Challenge Track 1 Unsupervised Forum

Go back to competition Back to thread list Post in this thread

> Submission Failed!

Dear orginizer,

When I submit the demo results, there is no error. But I failed to submit my own results. I have carefully check the folder names and didn't find any differnece with the demo sample. the error is shown as below.

~~~~~
Error:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmpYytOEs/run/program/evaluation.py", line 101, in
res_pngs = sorted([p for p in os.listdir(os.path.join(res_dir, dataset, rs_folder, mask)) if p.lower().endswith('png')])
OSError: [Errno 2] No such file or directory: '/tmp/codalab/tmpYytOEs/run/input/res/Places/val/Completion'
~~~~

Can you give me some advice to address it. Thank you

Posted by: AaronZ @ March 6, 2022, 1:30 p.m.

Hello,
It was difficult to catch, but the problem is the compression command you are using. Let me elaborate: you are compressing a folder 'server_demo_validation', and then submitting it, which makes the name of the folder part of the path, and hence Codalab not finding the right one.
More detailed, if you run 'unzip -l your_file.zip' you will see something like this:
...
...
810421 03-06-2022 21:58 server_demo_validation/Places/val/ThinStrokes/000980.png
378481 03-06-2022 21:58 server_demo_validation/Places/val/ThinStrokes/000990.png
394 03-06-2022 22:30 server_demo_validation/readme.txt

See that 'server_demo_validation' is part of the path.
If you run the same command over the supplied demo.zip, you will see:
...
...
514769 2022-02-02 10:36 Places/val/ThickStrokes/000460.png
442218 2022-02-02 10:36 Places/val/ThickStrokes/000920.png
395 2022-02-02 12:52 readme.txt

Try this and let us know if it fixes your issue.

Posted by: afromero @ March 7, 2022, 1:22 p.m.

The issue is well fixed. Thank you.

Posted by: AaronZ @ March 7, 2022, 1:45 p.m.
Post in this thread