caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"
https://caizhongang.github.io/projects/SMPLer-X/
Other
1.01k stars 73 forks source link

TypeError: register_module() got an unexpected keyword argument 'froce' #6

Closed xiyichen closed 1 year ago

xiyichen commented 1 year ago

I got this error during inference:

Screenshot 2023-08-22 at 11 51 53

even if I installed the packages with correct versions:

Screenshot 2023-08-22 at 11 52 43

I also can't find the keyword "froce" defined anywhere in the mmcv or mmdet source code.

xiyichen commented 1 year ago

Changing it to "force=True" solves the problem. Looks like it's a typo.

lxxue commented 1 year ago

For me, I need to add force=True for @POSITIONAL_ENCODING.register_module() in positional_encoding.py and change source code of torchgeometry according to this stackoverflow post to make things run.

xiyichen commented 1 year ago

For me, I need to add force=True for @POSITIONAL_ENCODING.register_module() in positional_encoding.py and change source code of torchgeometry according to this stackoverflow pose to make things run.

yeah forgot to mention that I also had to make these changes

wqyin commented 1 year ago

Hi, this typo has been fixed, and please refer to the FAQ section for the solutions to common issues.