handobjectconsist icon indicating copy to clipboard operation
handobjectconsist copied to clipboard

same issue as #11

Open KpibaraHuang opened this issue 4 years ago • 3 comments

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

KpibaraHuang avatar Apr 23 '21 08:04 KpibaraHuang

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 avatar Oct 18 '21 02:10 binghui-z

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.

binghui-z avatar Oct 18 '21 08:10 binghui-z

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

hassony2 avatar Oct 20 '21 13:10 hassony2