Comments (12)
Yes, in src
folder, run python demo.py -demo /path/to/image [-loadModel /path/to/image]
.
from pytorch-pose-hg-3d.
It seems that directly put model in src/ is a better idea, because of the code
model = torch.load('hgreg-3d.pth').cuda()
in demo.py line 15 https://github.com/xingyizhou/pytorch-pose-hg-3d/blob/84ad44e7a8aa15307b9a371ce85b3dee8d5ad2dc/src/demo.py#L15
from pytorch-pose-hg-3d.
It seems a pytorch installation issue. Please check the pytorch homepage.
from pytorch-pose-hg-3d.
'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
I am still getting this error. can someone help me solve this. I am using windows and python 2 does not have pytorch. not even for virtual enviroment
from pytorch-pose-hg-3d.
I dont know but demo.py is not working and giving error.
from pytorch-pose-hg-3d.
Thank you so much for all your posts and help.
But still, I am unable solve the issue. Did you make this using Python 2.7?
from pytorch-pose-hg-3d.
Yes, I am using python 2.7.
from pytorch-pose-hg-3d.
I am getting the following error, seems like pre-trained model is corrupted?
Note that the hgreg-3d.pth is present in the same directory as demo.py
from pytorch-pose-hg-3d.
Hi,
I have only tested my model in python 2. Python 3 is not supported yet. here is a python3 compactable version (not tested) which you can train the model yourself.
from pytorch-pose-hg-3d.
Hi udion,
I have resolved the issue by setting a virtual environment of Python 2 and it worked absolutely fine. It is an easy and convenient way to run the testing. Though the author has released for Python 3. Please ask me if I can help you with screenshots.
from pytorch-pose-hg-3d.
Thanks @kanza-ali !
from pytorch-pose-hg-3d.
I am still getting this error as i change the code for python 3. can you help @kanza-ali
from pytorch-pose-hg-3d.
Related Issues (20)
- s = min(s, max(img.shape[0], img.shape[1])) * 1.0 AttributeError: 'NoneType' object has no attribute 'shape' HOT 4
- Confidence of Detected Joints
- The defination in dataset file
- h36m benchmark result for categories
- Stage1: 2D pre-trained model trained to epoch=0?
- about the permission of pre-processed Human3.6M dataset
- about the pre-processed of Human3.6M
- RUN ERROR
- Performance On MPI-INF Dataset
- The preprocess of mpii is incorrect when input_h!=input_w
- The src point is wrong in image.py
- some problems occur running demo HOT 2
- the model behave worse when detect the squat
- download the models HOT 2
- 段错误,核心已转储 HOT 1
- how to using the camera of my own pc??
- root joint
- I solved 。。。
- Is it possible to input 2D coordinates obtained by other methods to obtain 3D coordinates in your model?
- demo has error HOT 1
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 pytorch-pose-hg-3d.