Comments (7)
Hi, @stefanopini
Thank you for your reply.
- OS: Windows10 Pro
- ffmpeg: 1.4
- ffmpeg-python: 0.2.0
- opencv-python: 4.5.3.56
- vidgear: 0.2.2
- does the script work using the option
--disable_vidgear
?: NO, same FileNotFoundError - does the script work replacing line 35 with
rotation_code = None?
: It Works correctly!
The script worked correctly by replacing line 35 with rotation_code = None
.
Thank you for your help!
from simple-hrnet.
I had the same issue before.
I solved it in this way.
If you're working in an anaconda environment,
conda install -c conda-forge ffmpeg-python
I hope you try reinstalling it through.
ffmpeg = 4.3.1
ffmpeg-python = 0.2.0
python = 3.7
It was conducted in a window 10 pro environment.
from simple-hrnet.
Hi, it looks like the file test1.mp4
or a python library is not found.
Have you double checked that the name and location of the file test1.mp4
?
Does the script work using a webcam as input source?
from simple-hrnet.
Hello.
I have same problem.
When I run python scripts/live-demo.py --filename input.mp4
,
occurred same problem.
FileNotFoundError: [WinError 2] The system cannot find the specified file
The name and location of the file is correct.
When the script work using a webcam as input source, it worked correctly.
I couldn't solve this problem.
from simple-hrnet.
Hi;
I have the same problem too.
FileNotFoundError: [WinError 2] The system cannot find the file specified
from simple-hrnet.
Hi @nakano-texnos (sorry for the late reply) and @alimsvn ,
I tried again and I'm still not able to reproduce the issue on my machines, but I have some suspects (i.e. vidgear and ffmpeg).
Could you please provide the following information?
- OS (windows / macos / linux distribution)
- ffmpeg version
- opencv and vidgear version
- does the script work using the option
--disable_vidgear
? - does the script work replacing line 35 with
rotation_code = None
?
simple-HRNet/scripts/live-demo.py
Line 35 in 2de1176
from simple-hrnet.
Thank you all for reporting the issue and the solutions that worked for you!
I will close the issue given it is likely related to the installation of ffmpeg/ffprobe.
For anyone arriving here, working solutions are:
- verifying/reinstalling ffmpeg and ffmpeg-python
- removing the usage of ffmpeg/ffprobe replacing line 35 with
rotation_code = None
insimple-HRNet/scripts/live-demo.py
Line 35 in 2de1176
from simple-hrnet.
Related Issues (20)
- TypeError: __init__() takes 2 positional arguments but 3 were given HOT 2
- 有剪枝,蒸馏方面的计划吗? HOT 1
- RuntimeError: Error(s) in loading state_dict for HRNet: HOT 1
- Evaluate custom dataset HOT 4
- Get inference time HOT 1
- Use YOLOv5 as a detector HOT 2
- Turn off some keypoints
- Data augmentations of training
- How to solce Error: ffprobe error (see stderr output for detail) HOT 2
- AP an loss are always 0
- RuntimeError: The size of tensor a (645) must match the size of tensor b (646) at non-singleton dimension 2 HOT 3
- How to Train with 1 Class??
- [Request] Making a python file to get AP/AR for each class? HOT 1
- ImportError: cannot import name 'FFProbe' HOT 3
- Using a different detector HOT 1
- how to output the result in coco json file and retrain a new model HOT 2
- PermissionError: [Errno 13] Permission denied: / FileNotFoundError: [WinError 2] HOT 1
- Broken model file pose_hrnet_w48_384x288.pth HOT 1
- ffmpeg._run.Error: ffprobe error (see stderr output for detail) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-hrnet.