Comments (8)
Received the same error. Did you find a solution?
from ai-basketball-analysis.
ModuleNotFoundError: No module named 'pyopenpose'
I found same error, but similar reason. Recompile openpose, problem solved. Hope this helps.
from ai-basketball-analysis.
The same problem I met too. The solution is replace the document "pyopenpose.cp36-win_amd64" which is in the \OpenPose\Release with your own "pyopenpose" file. For example,ใI use "pyopenpose.cp39-win_amd64" which was generated in the openpose project before. '39'means python3.9. So then make a env with python3.9 not python3.6 said here for this project. Do not pip install -r requirments.txt if the python version is not 3.6. Delete the version information in the requirements.txt ,and then pip install it. It definitely will work.
You may meet the error about opWrapper.emplaceAndPop([Datum]). The solution is add the code
vectorDatum = op.VectorDatum([datum])
return datum, opWrapper, vectorDatum
in the end of "def openpose_init" in util.py
and then modify the def getVideoStream in app_helper.py ,add vectorDatum as a input parameter.
That's all!
from ai-basketball-analysis.
@braveheartwills This is what I got following your steps. The import problem is fixed now, but the above problem comes up. Any idea what is happening? What should I do next?
from ai-basketball-analysis.
These are pictures of the code I added in util.py and app_helper.py. I don't really know much about Python, hope I did it correctly.
from ai-basketball-analysis.
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
@braveheartwills This is what I got following your steps. The import problem is fixed now, but the above problem comes up. Any idea what is happening? What should I do next?
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
from ai-basketball-analysis.
I also encountered the import problem of openpose, but his error message is as follows, showing that the dll loading failed: Can not find the corresponding module, do not know what solution?
from ai-basketball-analysis.
One solution is to compile from source the OpenPose project and copy the appropriate file from below for your specific python version.
Windows:
/OpenPose/Release/pyopenpose.cp36-win_amd64.pyd
or
Linux:
/OpenPose/openpose/pyopenpose.cpython-36m-x86_64-linux-gnu.so
from ai-basketball-analysis.
Related Issues (19)
- Something went wrong while importing Openpose HOT 6
- what did you use to draw the project structure ? HOT 1
- Problem in running !python app.py
- Video and camera characteristics
- Could you provide the dadasets of basketball and basketball hook?
- Dataset HOT 2
- I can't run this file HOT 1
- How you can get frozen_inference_graph.pb?
- Facing some errors and dont konw how to solve it
- ERROR: Unable to extract uploader id;
- erro๏ผ import OpenPose.Release.pyopenpose as op ImportError: DLL load failed:
- ERROR: Cannot install -r requirements.txt (line 2) and werkzeug==0.16.0 because these package versions have conflicting dependencies. HOT 1
- the requirements.txt
- Wrong when object not detected HOT 2
- Too slow on web server HOT 9
- In windows 10 64 bit os : problem with OpenPose HOT 3
- Dataset HOT 4
- AI basketball analysis on google colab HOT 13
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 ai-basketball-analysis.