-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ERROR cannot find video stream with wanted index: -1 #893
Comments
You can switch the video reader to other backend and see if things work. |
@innerlee Thanks for your reply. I have tried with PyAv, where I got similar error,
I believe it has to do with the data. Is there a way to skip videos are un-decodable? |
There are quite a lot of issues about corrupted video. Maybe we can add a script, decoding all videos one by one and finding the corrupted ones. |
@irvingzhang0512 I used the same dataset on SlowFast repo where PyAv gave me similar error, but they had an exception pass in their training pipeline where corrupted videos were skipped with a warning. I'd like to add something similar here, but the codebase is too complicated for my expertise. Some help would be nice to pin point what I can change here. |
I may take a look in two days |
@innerlee @dreamerlin What do you think about this feature: when trying to decode a corruped video, show a warning and choose a random video. |
My thoughts:
Ill-formatted videos are inevitable so we should "take it seriously". |
@innerlee @irvingzhang0512 I just wanted to update that opencv decoder works without any problems. |
My file was corrupted, and I reinstalled the video and worked very well. |
Hey everyone, great implementation of the TSM framework. I am trying to train on a custom dataset, but I can't get past this error. I am not sure what this means since, this happens after the first iteration of training is done. Here is my log. I initially tried changing the data loader to 0 which actually started the training, before which it did not. I have check all the video paths and it is present where it should be. Some help is appreciated here.
The text was updated successfully, but these errors were encountered: