geopavlakos / hamer

HaMeR: Reconstructing Hands in 3D with Transformers
https://geopavlakos.github.io/hamer/
MIT License
407 stars 41 forks source link

Bug in inference or rendering #68

Closed ntujy closed 1 month ago

ntujy commented 1 month ago

Thanks for the excellent work!

I am following the guide to run inference on videos. While some of them return accurate results, some frames seem not to have results. One example frame is as follows: 1

The output of the side view and all view are as follows: 1_0 1_all

I tried to print the pred_keypoints_3d from the output, the coordinates are as follows: Screenshot 2024-09-20 125739

So the model got some results but the rendering does not work. Any possible reason that could lead to this? Look forward to your reply.

geopavlakos commented 1 month ago

This example looks ok on my end. How are you doing inference on video? Maybe you edited the code and introduced a bug? If you use the single frame demo on this image, it should work ok. 369264064-3a8fb077-0971-4dd2-a21d-4eac4e8ed848_all

ntujy commented 1 month ago

The problem is solved by re-installing the virtual environment. Close the issue. Thanks for your reply!