EricGuo5513 / text-to-motion

Official implementation for "Generating Diverse and Natural 3D Human Motions from Texts (CVPR2022)."
MIT License
486 stars 40 forks source link

Can't set attribute in plot_3d_motion function #23

Closed StefanoBraghetto closed 1 year ago

StefanoBraghetto commented 1 year ago

Hello,

please your help with an error that tried to solve but couldn't.

in line 81 of your code in plot_3d_motion function an error appears:

--> ax.lines = [] ax.collections = [] ax.view_init(elev=120, azim=-90) ax.dist = 7.5

AttributeError: can't set attribute

could you please help me to solve it. This function uses FuncAnimation of matplotlib to create a fast animation of the character.

Thank you!

EricGuo5513 commented 1 year ago

Hi,

Maybe you could try different matplotlib version. I guess you are using the latest version. Try the version indicated in our git.

On Thu, Mar 23, 2023 at 5:41 PM Stefano Braghetto @.***> wrote:

Hello,

please your help with an error that tried to solve but couldn't.

in line 81 of your code in plot_3d_motion function an error appears:

--> ax.lines = [] ax.collections = [] ax.view_init(elev=120, azim=-90) ax.dist = 7.5

AttributeError: can't set attribute

could you please help me to solve it. This function uses FuncAnimation of matplotlib to create a fast animation of the character.

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/EricGuo5513/text-to-motion/issues/23, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRYNB5KHAWJQ3MOCG225ILW5TNSHANCNFSM6AAAAAAWF3UF2U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

StefanoBraghetto commented 1 year ago

Solved.

Sorry for the basic question. Thanks!!!