Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is the test-pose.h5? #7

Closed
SyGoing opened this issue Feb 6, 2018 · 4 comments
Closed

where is the test-pose.h5? #7

SyGoing opened this issue Feb 6, 2018 · 4 comments

Comments

@SyGoing
Copy link

SyGoing commented Feb 6, 2018

I follow the steps, but when I run.sh ,it makes a mistake cannot found the file test-Pose.h5

@Fang-Haoshu
Copy link
Member

Hi, please paste the command and screenshot so I can know the problem

@SyGoing
Copy link
Author

SyGoing commented Feb 6, 2018

Thank you, It looks like :
xxxx:~/another_home/AlphaPose$ ./run.sh --indir examples/demo/ --outdir examples/results/ --vis
0
generating bbox from Faster RCNN...
2018-02-06 13:28:34.693356: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-02-06 13:28:35.807972: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531
pciBusID: 0000:02:00.0
totalMemory: 11.90GiB freeMemory: 10.92GiB
2018-02-06 13:28:35.808017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1)
Loaded network ../output/res152/coco_2014_train+coco_2014_valminusminival/default/res152.ckpt
/another_home/shuyang/AlphaPose/examples/demo/

100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 3/3 [00:04<00:00, 1.59s/it]
pose estimation with RMPE...
./run.sh: line 78: th: command not found
Traceback (most recent call last):
File "parametric-pose-nms-MPII.py", line 256, in
get_result_json(args)
File "parametric-pose-nms-MPII.py", line 243, in get_result_json
test_parametric_pose_NMS_json(delta1, delta2, mu, gamma,args.outputpath)
File "parametric-pose-nms-MPII.py", line 99, in test_parametric_pose_NMS_json
h5file = h5py.File(os.path.join(outputpath,"POSE/test-pose.h5"), 'r')
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/files.py", line 272, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/files.py", line 92, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip_build_root/h5py/h5py/_objects.c:2511)
File "_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip_build_root/h5py/h5py/_objects.c:2464)
File "h5f.pyx", line 76, in h5py.h5f.open (/tmp/pip_build_root/h5py/h5py/h5f.c:1837)
IOError: Unable to open file (Unable to open file: name = '/another_home/shuyang/alphapose/examples/results/pose/test-pose.h5', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0)
visualization...
Traceback (most recent call last):
File "json-video.py", line 63, in
with open(jsonpath) as f:
IOError: [Errno 2] No such file or directory: '/another_home/shuyang/AlphaPose/examples/results/POSE/alpha-pose-results-forvis.json'

@Fang-Haoshu
Copy link
Member

./run.sh: line 78: th: command not found
please install torch properly

@SyGoing
Copy link
Author

SyGoing commented Feb 6, 2018

thank you

joris-gentinetta pushed a commit to joris-gentinetta/AlphaPose that referenced this issue Mar 7, 2024
Setting class attribute final_result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants