Search Unity

Question Error that an option in the yaml file is invalid, invalid option changes

Discussion in 'ML-Agents' started by fortytwoboxes, Mar 21, 2021.

  1. fortytwoboxes

    fortytwoboxes

    Joined:
    Jan 5, 2014
    Posts:
    3
    Hello, when I try to start mlagents-learn I always get an error that some option in the yaml file is invalid. I tried migrating the file but then it's just another option thats invalid.
    Invalid options so far:
    behaviors
    "name of the behavior"
    training_type

    here is the yaml file
    Code (csharp):
    1. behaviors:
    2. BaoSac1:
    3. trainer_type: sac
    4. hyperparameters:
    5. batch_size: 1024
    6. buffer_size: 10240
    7. learning_rate_schedule: constant
    8. buffer_init_steps: 1000
    9. init_entcoef: 0.02
    10. steps_per_update: 2
    11. networks_settings:
    12. vis_encode_type: match3
    13. normalize: false
    14. hidden_units: 512
    15. num_layers: 2
    16. max_steps: 5.0e5
    17. time_horizon: 64
    18. summary_freq: 10000
    19. keep_checkpoints: 5
    20. checkpoint_interval: 50000
    21. threaded: true
    22. init_path: null
    23. reward_signals:
    24. extrinsic:
    25. strength: 1.0
    26. gamma: 0.99
     
  2. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735