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

Slow vis #3

Open
shamangary opened this issue Oct 19, 2023 · 1 comment
Open

Slow vis #3

shamangary opened this issue Oct 19, 2023 · 1 comment

Comments

@shamangary
Copy link

Hello, great project.

I tried to run the vis for locomotion but it has been running for a very long time for pyrender.
I wonder how long do you normally run it and is there a way to speed up.

Thanks in advance!

@zkf1997
Copy link
Owner

zkf1997 commented Oct 19, 2023

Hi,

The pyrender visualization script is slow because we need to update human body meshes at each frame via SMPLX model inference and update the body mesh node in pyrender. This can lead to low fps especially when visualizing multiple sequences at the same time. With my local workstation, it works OK for visualizing up to 8 sequences at the same time.

If the visualization is too slow for you, you may first try to visualize only 1 sequence at a time (check args.seq_path and args.max_vis). The SMPLX inference part could be precomputed to accelerate but the pyrender part can still be a bottleneck.

Another alternative visualization solution is to import the motion results into Blender for real-time visualization. I uploaded the blender script to import the result files here. Before running this script, you need to first install Blender and the SMPLX add-on. The primitive loading may take some time. After finishing loading, the results can be viewed in real time in Blender. Note that you also need to load the scenes in blender, and visualizing too many sequences at the same time can also lead to low fps.

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

2 participants