xingyizhou / pytorch-pose-hg-3d

PyTorch implementation for 3D human pose estimation
GNU General Public License v3.0
613 stars 143 forks source link

test demo problem #25

Closed hamburgerBear closed 6 years ago

hamburgerBear commented 6 years ago

Hi, thanks for your code, but I have a problem when I run to demo,

(Human_Pose) gaojie@ubuntu:~$ cd human_pose/pytorch-pose-hg-3d/ data/ .git/ images/ readme.md
exp/ .gitignore LICENSE src/
(Human_Pose) gaojie@ubuntu:~$ cd human_pose/pytorch-pose-hg-3d/src/ (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src$ cd models/ (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src/models$ ls hg_3d.py hgreg-3d.pth init.py layers (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src/models$ cd .. (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src$ ls datasets demo.py models pycache tools utils debug main.py opts.py ref.py train.py (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src$ python demo.py -demo /path/to/image [-loadModel /path/to/image] usage: demo.py [-h] [-expID EXPID] [-test] [-DEBUG DEBUG] [-demo DEMO] [-loadModel LOADMODEL] [-nFeats NFEATS] [-nStack NSTACK] [-nModules NMODULES] [-LR LR] [-dropLR DROPLR] [-nEpochs NEPOCHS] [-valIntervals VALINTERVALS] [-trainBatch TRAINBATCH] [-nRegModules NREGMODULES] [-ratio3D RATIO3D] [-regWeight REGWEIGHT] [-varWeight VARWEIGHT] demo.py: error: unrecognized arguments: [-loadModel /path/to/image] (Human_Pose) gaojie@ubuntu:~/human_pose/pytorch-pose-hg-3d/src$

xingyizhou commented 6 years ago

How about trying python demo.py -demo images/h36m_1214.png?