You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
First off, thank you for sharing such an amazing resource for others to replicate. I saw your racing robot project featured on Medium and I want to replicate it for my own end-of-year project.
Currently, my team and I are stuck on an error that occurs when we try to run the main.py file. We used the preinstalled image that you provided but we noticed that the project had been updated, so we updated the project folder in the image as well. When we attempt to run it however, we receive this:
Attribute Error: ‘module’ object has no attribute ‘_rebuild_tensor_v2’
When we did more digging we realized it was a pytorch error. My question is do you know how to resolve the issue via pytorch update or is a new image required?
Our hardware is:
A Raspberry Pi Model B+
-A Pi Camera
-Elegoo Smart Robot Car Kit v3.0
The text was updated successfully, but these errors were encountered:
Attribute Error: ‘module’ object has no attribute ‘_rebuild_tensor_v2’
This image is maybe a bit old now. Can you check which version of pytorch is installed ?
Apparently, this is because the saved model was trained with an older version of pytorch. See issue in the pytorch forum.
So a way to fix it is to retrain a model with a newer version of pytorch.
Hello!
First off, thank you for sharing such an amazing resource for others to replicate. I saw your racing robot project featured on Medium and I want to replicate it for my own end-of-year project.
Currently, my team and I are stuck on an error that occurs when we try to run the main.py file. We used the preinstalled image that you provided but we noticed that the project had been updated, so we updated the project folder in the image as well. When we attempt to run it however, we receive this:
Attribute Error: ‘module’ object has no attribute ‘_rebuild_tensor_v2’
When we did more digging we realized it was a pytorch error. My question is do you know how to resolve the issue via pytorch update or is a new image required?
Our hardware is:
-A Pi Camera
-Elegoo Smart Robot Car Kit v3.0
The text was updated successfully, but these errors were encountered: