Closed polycrunchgames closed 1 year ago
The solution was to use an older version of torch (1.12.1 worked)
pip3 install torch==1.12.1
Then I noticed that in the video, when the author selected the GNN file in Unity, it display the torch version which was using 1.9.
3 days later (150 Epochs) the GNN was trained successfully. Apparently I didn't need 150 Epochs, since the author used the results of the 5th Epoch.
I was following this video: https://youtu.be/3ASGrxNDd0k to train the quadruped. When doing the final step for GNN training, when it completes at 100%, I get this error:
When I did the first python call, I had to install it (by just typing python in command prompt which opens up Microsoft Store) and then do the following to install any missing modules: pip3 install numpy pip3 install torch pip3 install matplotlib pip3 install sklearn //the above line didn’t really work as it kept telling me sklearn module not found when trying to run Network.py, but the next line fixed it pip3 install -U scikit-learn scipy matplotlib
Do I need specific version of torch? Here is the version of torch when doing
pip3 show torch
Here are the version numbers for torch spewed when trying to re-install it: