Following message pops up when I am submitting results:
No handlers could be found for logger "libav.mov,mp4,m4a,3gp,3g2,mj2"
Traceback (most recent call last):
File "/tmp/codalab/tmp7yc41y/run/program/evaluate.py", line 116, in
results = Evaluate(Yreal,Ypred,output_file)
File "/tmp/codalab/tmp7yc41y/run/program/evaluate.py", line 70, in Evaluate
Ypred = getAllFrames(pred)
File "/tmp/codalab/tmp7yc41y/run/program/evaluate.py", line 54, in getAllFrames
data = np.array(data, dtype='float32')
UnboundLocalError: local variable 'data' referenced before assignment
Thanks for the report. We are working on it.
Sorry for inconveniences.
Posted by: mmadadi @ July 17, 2018, 2:43 p.m.Hi,
I just made a submission with no errors. Did you make your archive with subfolders? The archive should contains mp4 files at the root with no folder.
Hope this help.
Best,
Stéphane
Yes, I made the submission without any sub-folder.
Posted by: arnavkj95 @ July 17, 2018, 5:41 p.m.It seems that one (or all) of your video clip cannot be read by the pims package.. Did you use the right command, from the starting kit, to save them?
Can you try on your side these lines of code?
"""
try:
data = pims.Video(clipname)
except:
print('error occured in reading %s' % (clipname))
data = np.array(data, dtype='float32')
"""
I've found an empty video clip (Y2936.mp4) from your last submission. This causes the error..
Posted by: Stephane @ July 17, 2018, 6:17 p.m.Hey, I resubmitted the videos and the error is 1000.
Yes, I looked and found Y2396.mp4 missing so this max error is due to a missing video?
Yes, there is an error if any video clip is missing or unreadable.
Posted by: Stephane @ July 17, 2018, 6:49 p.m.Hi Stephane,
I resubmitted with all videos and still it is showing same error.
Hi,
It is Y2170.mp4 which is empty... You should check that your video clips are readable (with pims) before submitting!
Good luck.