Have you created a virtual environment i.e. conda environment and installed ml-agents toolkit using pip or so into that environment ? You should be able to run the shell file as followed:
Idk I just followed the video, do I just need to enter these commands or download something? It doesn’t say anything about anaconda, but I am wanting to use TensorFlow
I restarted it all again and followed through the website instead: https://learn.unity.com/tutorial/karting-mod-smart-karts-training-guide#
so the mlagents is installed through the command prompt, so I do not know where the directory would be for me?
I am currently just trying to run it from my project directory
Its a path error. ML Agents is installed somewhere but that somewhere is not on the path.
Simplest way:
Download ML Agents Zip from GIT and unzip into a folder (or GIT Clone into a folder)
Goto that folder in the python terminal window.
Install the requirements / dependencies like Torch etc… (Probably already installed in your case but no harm either way)
Then from the folder where you downloaded ML Agents or Git Cloned it.
Thanks that stuff is good now I think, I also downloaded torch as I saw that on another thread. I now just get the error:
Couldn’t connect to trainer on port 5004 using API version 1.0.0. Will perform inference instead.
I see people recommending to have the same version of C# and python but not sure how to check and other solutions for this didn’t work.