-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not open video at /content/subway.mp4 #267
Comments
I fixed this by creating a content folder and placing the video inside the folder. The dot before {HOME} is necessary for Colab to look at the root directory and search for the folder named content. I included a small code sample below that fixes this issue:
If you use the line that is commented out, then the dot before {HOME} is not necessary; it's only necessary with os.getcwd(). The folder would also be unnecessary and you can avoid creating one if you use the line that is commented out. You can use either HOME variable for your project. |
Search before asking
Notebook name
how-to-detect-and-count-objects-in-polygon-zone.ipynb
Bug
Environment
Minimal Reproducible Example
Additional
the file subway.mp4 is a Invalidation file .
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: