facebookresearch / sapiens

High-resolution models for human tasks.
https://about.meta.com/realitylabs/codecavatars/sapiens/
Other
4.56k stars 261 forks source link

Does visualiztion take a lot of time? #134

Closed rabum closed 1 month ago

rabum commented 1 month ago

Can I turn it off to have faster procession? What part of code should I change

rawalkhirodkar commented 1 month ago

@rabum Yes ofcourse. For example, if you are using pose: refer to this https://github.com/facebookresearch/sapiens/blob/7bd3594ccc98a64ffa40ce3d577eff6afa6efba7/lite/demo/vis_pose.py#L139

rabum commented 1 month ago

@rabum Yes ofcourse. For example, if you are using pose: refer to this

https://github.com/facebookresearch/sapiens/blob/7bd3594ccc98a64ffa40ce3d577eff6afa6efba7/lite/demo/vis_pose.py#L139

I'm not using the lite version, the code in sapiens/pose/demo/demo_vis.py seems different, should I just set visualizer to None if I want to turn it off?

rawalkhirodkar commented 1 month ago

@rabum correct, setting visualizer to None will skip the vis. https://github.com/facebookresearch/sapiens/blob/7bd3594ccc98a64ffa40ce3d577eff6afa6efba7/pose/demo/demo_vis.py#L64