Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.93k stars 4.14k forks source link

'mlagents-learn' is not recognized as an internal or external command, operable program or batch file. #4108

Closed MrStashley closed 4 years ago

MrStashley commented 4 years ago

I have created a ml environment on windows and I am trying to train my agent but I get 'mlagents-learn' is not recognized as an internal or external command, operable program or batch file. when I try to run mlagents-learn with my config file and a run id specified as parameters. I added the path to ml-agents/trainers/learn.py into my PATH environment variable and I followed the instructions for setting up a virtual environment but I get the same results. When I run learn.py from within the trainers directory with command learn.py config/Platformer.yaml --run-id=Platformer I get a console window but it closes very quickly and it shows an error but it closes before I can read it. I'm sure I'm doing something simple wrong but I can't figure it out. I'm using 64 bit windows. Can anyone help me? Thanks!

xiaomaogy commented 4 years ago

Hi @MrStashley, for installation issues like this, please open a forum post here: https://forum.unity.com/forums/ml-agents.453/

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.