Skip to content

Visualization #1

@sadegh-aa

Description

@sadegh-aa

Hi,

Thank you for the nice work and for sharing the code. I'm playing with the code and try to evaluate your model with pretrained weights, however, when I want to visualize the result with the command you've mentioned in the readme, I get this error:

File DLow/motion_pred/utils/visualization.py", line 109, in update_video
    lines_3d[n][j-1][0].set_3d_properties([pos[j, 2], pos[j_parent, 2]], zdir='z')
  File "/home/sadegh/.local/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'

Do you know how to fix this?

Cheers,
Sadegh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions