Closed wangyarui closed 6 years ago
@wangyarui please pip install nms first.
torch is not installed correctly, have you
bash ~/.bashrc
BTW, you can also try our pytorch version
When I run sudo ./run.sh --indir examples/demo/ --outdir examples/results/ --vis I get the following issues: (AlphaPose201809) luo@luo-ThinkPad-W540:AlphaPose$ python Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import torch import torchvision exit()
---------------------------------------------
(AlphaPose201809) luo@luo-ThinkPad-W540:AlphaPose$ ./run.sh --indir examples/demo/ --outdir examples/results/ --vis 0 generating bbox from Faster RCNN... Traceback (most recent call last): File "demo-alpha-pose.py", line 19, in
from model.config import cfg File "/home/luo/Desktop/MyFile/MVIG-SJTU/AlphaPose20180910/AlphaPose/human-detection/tools/../lib/model/init.py", line 1, in from . import config File "/home/luo/Desktop/MyFile/MVIG-SJTU/AlphaPose20180910/AlphaPose/human-detection/tools/../lib/model/config.py", line 9, in from easydict import EasyDict as edict ImportError: No module named easydict pose estimation with RMPE... ./run.sh: line 78: th: command not found Traceback (most recent call last): File "parametric-pose-nms-MPII.py", line 10, in import h5py ImportError: No module named h5py visualization... mkdir: cannot create directory ‘/home/luo/Desktop/MyFile/MVIG-SJTU/AlphaPose20180910/AlphaPose/examples/results//RENDER’: No such file or directory Traceback (most recent call last): File "json-video.py", line 4, in from tqdm import tqdm ImportError: No module named tqdm (AlphaPose201809) luo@luo-ThinkPad-W540:AlphaPose$
Please check the FAQ and you can find the answers
@Fang-Haoshu @whitelok These don't solve my probelm, Thanks very much! I will try the pytorch version! :+1:
Cool! Have fun!
When I run
sudo ./run.sh --indir examples/demo/ --outdir examples/results/ --vis
I get the following issues:And I have configured torch correctly...Thanks