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

Axes3D currently only supports the aspect argument 'auto'. You passed in 'equal'. #51

Open
PJJie opened this issue Nov 6, 2021 · 2 comments

Comments

@PJJie
Copy link

PJJie commented Nov 6, 2021

https://github.com/fabro66/GAST-Net-3DPoseEstimation/blob/master/INFERENCE_EN.md

The following problems occurred after the configuration was run

Traceback (most recent call last):
File "gen_skes.py", line 180, in
generate_skeletons(video=video_path, output_animation=args.animation, num_person=args.num_person)
File "gen_skes.py", line 155, in generate_skeletons
viz_output, input_video_path=video, viewport=(width, height), com_reconstrcution=same_coord)
File "/home/junjie/tmp/GAST-Net2/tools/vis_h36m.py", line 111, in render_animation
ax.set_aspect('equal')
File "/home/共享文件/anaconda3/envs/pytorch13_py37/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 324, in set_aspect
"Axes3D currently only supports the aspect argument "
NotImplementedError: Axes3D currently only supports the aspect argument 'auto'. You passed in 'equal'.

@vicentowang
Copy link

@PJJie passe 'auto' instead of 'equal' , solved.

@MarcvdSluys
Copy link

MarcvdSluys commented Apr 15, 2022

I tried that, but my sphere looks like a sphere with 'equal' (left) and like an ellipsoid with 'auto' (right). How can I tell 'auto' to use equal scaling for the x, y and z axes?

spheres

Ah, replacing ax.set_aspect('equal') with ax.set_box_aspect([1,1,1]) solves this.

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

3 participants