MAFAT Satellite Vision Challenge Forum

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

> latest.pth FileNotFoundError despite url based submission

Hi, I keep getting the following error despite submitting with a model_url file:

FileNotFoundError: /tmp/codalab/tmp9i0fuG/run/program/latest.pth can not be found.

Would appreciate any advice.
G.

Posted by: gfreund @ Feb. 10, 2023, 7:47 p.m.

Hi,

Your url leads to a zip file with the following structure:
model_weights.zip
tutorial_exps
latest.pth

when this zip is extracted your weights file path is under the tutorial_exps folder, but your model searchs for latest.pth in the same folder model.py is (same level as tutorial_exps)

so either you change your weights path in the model class to
tutorial_exps/latest.pth

or zip just the latest.pth file without the folder and upload to drive and update your url

Shai,
MAFAT Challenge Team

Posted by: MAFAT_Challenge @ Feb. 12, 2023, 8:25 a.m.
Post in this thread