首先老样子,激活ml环境
activate mlagents(注意这个名字是我们之前创建创建定的名字)
然后
mlagents-learn config/trainer_config.yaml --run-id=firstRun --train
<trainer-config-path>
is the relative or absolute filepath of the trainer configuration. The defaults used by example environments included inMLAgentsSDK
can be found inconfig/trainer_config.yaml
.<run-identifier>
is a string used to separate the results of different training runs--train
tellsmlagents-learn
to run a training session (rather than inference)
官方给了解释了.
我的路径是:
会提示要启动unity, 接着我们就把平衡球的这个样例打开,他就开始训练了