ZhengdiYu / Arbitrary-Hands-3D-Reconstruction

🔥(CVPR 2023) ACR: Attention Collaboration-based Regressor for Arbitrary Two-Hand Reconstruction
https://semanticdh.github.io/ACR/
MIT License
184 stars 12 forks source link

NameError: name 'INVALID_TRANS' is not defined #15

Open pinna526 opened 1 year ago

pinna526 commented 1 year ago

I received the following error when trying to test on my own video. Could you please let me know if I missed any steps or configurations?

File "/Arbitrary-Hands-3D-Reconstruction/acr/utils.py", line 504, in estimate_translation
    trans[i] = INVALID_TRANS
NameError: name 'INVALID_TRANS' is not defined

I would appreciate any help in resolving this issue. Thank you!

ZhengdiYu commented 1 year ago

Sorry for my late response.

Well, I have never met this problem before. But I think you could try adding INVALID_TRANS=np.ones(3)*-1 in the beginning of the file. Please don't hesitate to tell me if there are any other issues.