hassony2 / handobjectconsist

[cvpr 20] Demo, training and evaluation code for joint hand-object pose estimation in sparsely annotated videos
https://hassony2.github.io/handobjectconsist.html
MIT License
121 stars 18 forks source link

same issue as #11 #19

Open KpibaraHuang opened 3 years ago

KpibaraHuang commented 3 years ago

On running python visualize.py I get the following error (I have made sure I followed all instructions for installing the FPHAB dataset correctly):

Traceback (most recent call last): File "visualize.py", line 214, in main(args) File "visualize.py", line 127, in main crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "visualize.py", line 127, in crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "/advaya/handobjectconsist/meshreg/visualize/vizdemo.py", line 32, in get_crop x_min = xs.min() File "/h/advaya/.conda/envs/handobject_env/lib/python3.7/site-packages/numpy/core/_methods.py", line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identit

binghui-z commented 3 years ago

On running python visualize.py I get the following error (I have made sure I followed all instructions for installing the FPHAB dataset correctly):

Traceback (most recent call last): File "visualize.py", line 214, in main(args) File "visualize.py", line 127, in main crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "visualize.py", line 127, in crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "/advaya/handobjectconsist/meshreg/visualize/vizdemo.py", line 32, in get_crop x_min = xs.min() File "/h/advaya/.conda/envs/handobject_env/lib/python3.7/site-packages/numpy/core/_methods.py", line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identit

excuse me, I have encountered the same problem., have you solved it?

binghui-z commented 3 years ago

On running python visualize.py I get the following error (I have made sure I followed all instructions for installing the FPHAB dataset correctly): Traceback (most recent call last): File "visualize.py", line 214, in main(args) File "visualize.py", line 127, in main crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "visualize.py", line 127, in crops = [vizdemo.get_crop(render_res) for render_res in render_ress] File "/advaya/handobjectconsist/meshreg/visualize/vizdemo.py", line 32, in get_crop x_min = xs.min() File "/h/advaya/.conda/envs/handobject_env/lib/python3.7/site-packages/numpy/core/_methods.py", line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identit

excuse me, I have encountered the same problem., have you solved it?

Hi, I have solved this problem. Before you run visualize.py, you should run reduce_fphab.py to resize the dataset. And then run visualize.py, and you will obtain the result just like this repo.

hassony2 commented 3 years ago

@binghui-z, this is correct, thank you very much for providing your solution :)