ML-AGENTS 0.8.1 环境搭建

https://github.com/Unity-Technologies/ml-agents/blob/0.8.1/docs/Installation-Windows.md
unity官网指导搭建教程,请参考。
1.安装Anaconda 3.5.1.0版本
2.装完运行anaconda配置环境,运行命令 pip install mlagents
3.pip install tensorflow==1.7.1 安装tensorflow1.7.1版本
4.https://github.com/Unity-Technologies/ml-agents/archive/master.zip 安装此文件,避过官网的此步骤安装。不要问为什么,亲自测试。
5.运行 pip install mlagents
6.cd C:\Downloads\ml-agents 进入你下载的unity agents0.8.1项目目录下。
7.分别安装两个文件。依次运行如下命令:
cd ml-agents-envs
pip install -e .
cd …
cd ml-agents
pip install -e .
8.可以运行mlagents-learn --help 命令测试是否安装成功,成功会显示unity logo和一些提示文字。
9.运行训练命令。进入项目根目录,切记别弄错了。
mlagents-learn config\trainer_config.yaml --run-id=test001 --train
10.如果提示可以运行unity时运行unity,就进入训练模式。

猜你喜欢

转载自blog.csdn.net/qq_23158477/article/details/105609286
今日推荐