Sense-X / UniFormer

[ICLR2022] official implementation of UniFormer
Apache License 2.0
812 stars 111 forks source link

Failed to meta load video idx XXXX from PATH when running 'bash exp/uniformer_s8x8_k400/run.sh' from the Uniformer/video_classification directory #103

Closed SWE-Ahmed closed 1 year ago

SWE-Ahmed commented 1 year ago

Thank you for sharing this repository of the code implementation of the Uniformer paper. However, when I tried to run the implementation using a subset of the data (Kinetics400) I keep getting this error where the video isn't being loaded successfully. Is there a solution to it?

Andy1621 commented 1 year ago

Thanks for your question. If your process runs normally (the stdout.log outputs the training log), you can ignore the warning.

As for the reason, it is mainly because some videos can not be recorded. https://github.com/Sense-X/UniFormer/blob/849cd0cd3b163f84102b1a799019a689d8d3fb8a/video_classification/slowfast/datasets/kinetics.py#L208-L221 You can check the error video path, and try to record it via container.get_video_container() function. https://github.com/Sense-X/UniFormer/blob/849cd0cd3b163f84102b1a799019a689d8d3fb8a/video_classification/slowfast/datasets/video_container.py#L33-L36