Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question mlagents-learn is not recognized as an internal or external command, operable program, or batch file

Discussion in 'ML-Agents' started by Chickpeaplane, May 16, 2023.

  1. Chickpeaplane

    Chickpeaplane

    Joined:
    May 16, 2023
    Posts:
    2
    I am trying to train an agent, but when I run mlagent-learn, it says that it is not recognized as a valid command.

    Code (csharp):
    1. C:\Users\*****>mlagents-learn --help
    2. 'mlagents-learn' is not recognized as an internal or external command,
    3. operable program or batch file.
    I have attached a screenshot.
    Does anyone know why this happens, or how to fix it?
     

    Attached Files:

  2. bahaagh7

    bahaagh7

    Joined:
    Aug 29, 2019
    Posts:
    6
  3. Chickpeaplane

    Chickpeaplane

    Joined:
    May 16, 2023
    Posts:
    2
    Hey there, thanks for that, it has helped. This is probably competely unrelated, but when I run version 17, it spews out a bunch of errors about how some command is deprecated and will be removed in a future version. I have tried updating my mlagents, and it stops at version 19. The only problem now is that I have been training for 16 hours and it has not gotten any better than it was at the beginning. Is this to do with Anaconda, or am I missing something here?