I'm getting errors after installing it, see below. Can you describe on what platform you develop and test lcp-physics, which versions of all relevant packages (Linux distro, mac, windows etc), python3 version (anaconda?) etc.
demo.py seems to work (but sim runs pretty slow), but python inference_demo.py gives an error:
erwincoumans-macbookpro2:demos erwincoumans$ python inference_demo.py
10 / 11 30.0Traceback (most recent call last):
File "inference_demo.py", line 248, in <module>
inference_demo(screen)
File "inference_demo.py", line 49, in inference_demo
grad = c.mass.grad.data
AttributeError: 'NoneType' object has no attribute 'data'
(python and pip are an alias to python3 and pip3)
conda install pytorch torchvision -c pytorch
pip install pygame
python setup.py develop
cd demos
python demo.py
erwincoumans-macbookpro2:demos erwincoumans$ python inference_demo.py
10 / 11 30.0Traceback (most recent call last):
File "inference_demo.py", line 248, in <module>
inference_demo(screen)
File "inference_demo.py", line 49, in inference_demo
grad = c.mass.grad.data
AttributeError: 'NoneType' object has no attribute 'data'

