When I try the 3D Skeleton Interactive Annotation using the pre-trained weights, the keyboard is not working correctly. 0-9 are fine, the figure shows the different selected limb when I click. However, arrow keyboards are not working:
Traceback (most recent call last):
File "/anaconda3/envs/pytorch/lib/python3.6/site-packages/matplotlib/cbook/__init__.py", line 224, in process
func(*args, **kwargs)
File "annotate_3D.py", line 96, in press
update_skeleton(angle_idx, event.key)
File "annotate_3D.py", line 337, in update_skeleton
update_global(angle_idx)
File "annotate_3D.py", line 282, in update_global
update_line(line_idx, parent_idx, child_idx)
File "annotate_3D.py", line 265, in update_line
lines[line_idx][0].set_3d_properties(z)
File "/anaconda3/envs/pytorch/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 143, in set_3d_properties
zs = np.broadcast_to(zs, xs.shape)
AttributeError: 'list' object has no attribute 'shape'
up, down, right or left all shows the same error. I tried debug thru printing the (event.key) and it shows that the received keyboard is correct (i.e. printing up, down, left, right when I click the corresponding key).