NVlabs / handover-sim

A simulation environment and benchmark for human-to-robot object handovers
https://handover-sim.github.io
BSD 3-Clause "New" or "Revised" License
87 stars 14 forks source link

TypeError:__init__() got an unexpected keyword argument 'betas' #2

Closed Cyqxxn closed 1 year ago

Cyqxxn commented 1 year ago

Hi!

I had this problem when I was compiling 'compile_mano_assets.py'. I cannot figure out why. The error is as below.

Compiling MANO assets Traceback (most recent call last): File "compile_mano_assets.py", line 391, in main() File "compile_mano_assets.py", line 157, in main model = HandModel45( TypeError: init() got an unexpected keyword argument 'betas'

Looking forward to your reply.

ychao-nvidia commented 1 year ago

Somehow your mano_pybullet submodule is not on the right commit. You can fix it by:

  1. Checkout the right commit:

    cd mano_pybullet
    git checkout ac6fd6f
    cd ..
  2. Make sure your mano_pybullet is installed from the submodule. Run pip freeze | grep mano_pybullet. You should see:

    -e git+ssh://git@github.com/ychao-nvidia/mano_pybullet.git@ac6fd6f8c01d103c52e63bb0d1d89265891738e8#egg=mano_pybullet&subdirectory=../../mano_pybullet

    If not, run the following:

    pip install --no-deps -e mano_pybullet
Cyqxxn commented 1 year ago

Oh, I didn't notice the commit. Anyway, it has now been successfully reproduced. Thanks!