Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question "mlagents.trainers.exception.TrainerConfigError"

Discussion in 'ML-Agents' started by ChillCat1, May 19, 2022.

  1. ChillCat1

    ChillCat1

    Joined:
    Jun 9, 2020
    Posts:
    5
    Hi, there! Currently, I'm trying to setup imitation learning for my karts. However, every time I try to initiation the training I am met with this error:
    Code (CSharp):
    1. mlagents.trainers.exception.TrainerConfigError: The option demo_path was specified in your YAML file for TrainerSettings, but is invalid.
    In the attached .txt file, you can see my config file with my parameters.

    Any help would be greatly appreciated, thank you!
     

    Attached Files:

  2. ChillCat1

    ChillCat1

    Joined:
    Jun 9, 2020
    Posts:
    5
    Update: I fixed my error with proper indentation in my .yaml file.

    Problem resolved.