Having trouble with the mlagents-learn command. ml-agents release 18, package 2.1.0

I have been following along with the “Making a New Learning Environment” documentation tutorial at - ml-agents/docs/Learning-Environment-Create-New.md at release_18_docs · Unity-Technologies/ml-agents · GitHub

I get close to the end - the step where I enter the command:
mlagents-learn path/rollerball_config.yaml --run-id=RollerBall

I get the error:
mlagents.trainers.exception.TrainerConfigError: The option behaviors was specified in your YAML file, but is invalid.

Which I find a little odd due to the “” symbols, like it can’t say exactly which option it doesn’t like.
I am using the file contents given in the tutorial’s YAML file:

behaviors:
  RollerBall:
   trainer_type: ppo
   hyperparameters:
     batch_size: 10
     buffer_size: 100
     learning_rate: 3.0e-4
     beta: 5.0e-4
     epsilon: 0.2
     lambd: 0.99
     num_epoch: 3
     learning_rate_schedule: linear
   network_settings:
     normalize: false
     hidden_units: 128
     num_layers: 2
   reward_signals:
     extrinsic:
       gamma: 0.99
       strength: 1.0
   max_steps: 500000
   time_horizon: 64
   summary_freq: 10000

Can anyone point me in the right direction or have any ideas on what I can try next?

I would say it’s because you put behaviors twice in your file, delete the first two lines

Thanks for pointing that out - that was a copy past mistake I made in the post. Unfortunately, I didn’t make the mistake in my YAML file, so I’m still getting the error

A search on the extraneous characters came up with this which seems like it might be helpful:
encoding - What’s  sign at the beginning of my source file? - Stack Overflow

That was exactly what I needed! I was able to open the YAML file with notepad++ and change the encoding to UTF-8 without BOM and mlagents-lean works. @jrupert-unity Thank you so much