Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems that YAML configuration file format has been changed in ML-Agents 1.0 #20

Open
Joovvhan opened this issue Jun 20, 2020 · 1 comment

Comments

@Joovvhan
Copy link

Hello, I had encountered a minor issue that has been solved following your links to ml-agents repository.

mlagents.trainers.exception.TrainerConfigError: The option num_update was specified in your YAML file for TrainerSettings, but is invalid.

It seems that configuration.yaml file format has been changed in the lastest ml-agents, and your ur3_config.yml file is already properly modified in the hh/develop/robo-arm-continuous branch.

To make the mlagents-learn running, I organized your parameters and commented the following.

# num_update: 1
# train_interval: 1
# use_recurrent: false
2020-06-20 14:39:08 INFO [stats.py:100] TouchCube: Step: 5000. Time Elapsed: 271.120 s Mean Reward: -11.866. Std of Reward: 5.555. Training.
2020-06-20 14:43:57 INFO [stats.py:100] TouchCube: Step: 10000. Time Elapsed: 560.016 s Mean Reward: -9.497. Std of Reward: 5.626. Training.
2020-06-20 14:49:40 INFO [stats.py:100] TouchCube: Step: 15000. Time Elapsed: 903.239 s Mean Reward: -8.487. Std of Reward: 4.681. Training.
2020-06-20 14:54:46 INFO [stats.py:100] TouchCube: Step: 20000. Time Elapsed: 1209.069 s Mean Reward: -3.008. Std of Reward: 4.634. Training.
2020-06-20 14:59:54 INFO [stats.py:100] TouchCube: Step: 25000. Time Elapsed: 1516.457 s Mean Reward: -1.882. Std of Reward: 3.949. Training.
2020-06-20 15:04:58 INFO [stats.py:100] TouchCube: Step: 30000. Time Elapsed: 1820.897 s Mean Reward: -0.098. Std of Reward: 2.458. Training.

It seems ml-agents is working properly. Yet I am not sure is it OK to just comment those parameters.

I would be appreciated if you could check the attached config file and let me know whether it is correctly modified as you originally intended.

Thanks.

ur3_config.txt

@VKSharma17
Copy link

Thanks for clearing this. The UR3 ML Agents demo works fine with the updated config.yaml file as per ur3_config.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants