NVIDIA-AI-IOT / jetracer

An autonomous AI racecar using NVIDIA Jetson Nano
MIT License
1.06k stars 319 forks source link

module 'torch' has no attribute for reciprocal_ #90

Closed ilhmfahmi closed 2 years ago

ilhmfahmi commented 3 years ago

i have some error when trying road folowing example on jetracer in https://github.com/NVIDIA-AI-IOT/jetracer/issues/27 said that version 1.2 would resolve this issue so how to upgrade torch-1.2.0? please help, thanks. reciprocal

abritten commented 3 years ago

@ilhmfahmi I tried this and it worked:

wget https://nvidia.box.com/shared/static/06vlvedmqpqstu1dym49fo7aapgfyyu9.whl -O torch-1.2.0a0+8554416-cp36-cp36m-linux_aarch64.whl

pip3 install numpy torch-1.2.0a0+8554416-cp36-cp36m-linux_aarch64.whl --user

sudo reboot now

PLEASE DO THE SUDO REBOOT NOW, otherwise it wont work.

Good luck Jetracer friend