Issue while running a sample video
See original GitHub issueHi I was trying to run videopose.py
using python 3.7 in virtual env using ubuntu 18.04
. The command i used was as follows
python3.7 videopose.py --video ./outputs/kunkun_cut.mp4
which results in the following error
Traceback (most recent call last):
File "videopose.py", line 174, in <module>
inference_video('outputs/dance.mp4', 'alpha_pose')
File "videopose.py", line 163, in inference_video
main(args)
File "videopose.py", line 67, in main
split_video(args.viz_video)
File "/sandbox/video-to-pose3D/common/utils.py", line 154, in split_video
saved_path = os.path.dirname(save_path)
UnboundLocalError: local variable 'save_path' referenced before assignment
I am using hrnet
as 2D detector .
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
15 Most Common Video Errors + How to Fix Them
Issue 3: Missing or Choppy Video · Ensure that you have not tampered with its metadata or deleted its picture component while using...
Read more >20 most common video errors & how to fix them
This article guide you how to fix all 20 problems or errors while playing videos like playback errors, audio video sync, issues, choppy, ......
Read more >Troubleshoot audio or video issues with uploads on YouTube
If you're having problems with the audio or video of your upload, try these troubleshooting steps to solve the issue.
Read more >Video SDK problem when creating session (playing with ...
I have started learning Video SDK and have failure in creating session. When I run the sample program and create the session, ...
Read more >"The file could not be read. It may be corrupt or not licensed ...
Live Versions: All; Operating System: All. This error message may appear in Live's status bar when trying to load certain audio files, video...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As is said in my README
The bug is caused by the fact that these paths are not in your
sys.path
. I’ve updated my code to add them intosys.path
manually. You can pull the project and try again.May caused by the index of cuda devices:
I’m using multi-GPU machine in my environment. Try to change the value of
os.environ["CUDA_VISIBLE_DEVICES"] = "1"
into “0” in./videopose.py