系统环境是Windows 

提前安装准备:

1.Anaconda

2.Cudnn

3.Pytorch

如果这些你都有,可以不管,没有的话去这里学习安装,很完善的教程:

(139条消息) 深度学习环境配置8——(30系显卡)windows下的torch==1.7.1环境配置_Bubbliiiing的博客-CSDN博客


1.先去Github下下载 ML-agent.zip文件

(139条消息) ML-Agents安装教程(Unity机器学习/2020.6.30最新更新)_mlagents安装_糯米_chobits的博客-CSDN博客

(139条消息) Unity-ML-Agents安装_mlagents安装_天寒心亦热的博客-CSDN博客 

中间猜过的坑,都是泪,不多说了,请给我点个赞,关注一波吧:

问题1:

Unity Hub安装编辑器出现validation failed错误,就是路径问题,很好解决

(139条消息) Unity Hub安装编辑器出现validation failed错误_cheechi的博客-CSDN博客

问题2:

TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use
pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

解决方案:

重新安装protobuf,选择版本为3.20.* 便可解决该问题
pip install protobuf==3.20.*

 

2.下载Unity Hub(不要单独下载一个Unity文件,我一开始就单独下一个,也不知道咋用,Unity Hub里面可以直接下载需要的Unity 版本)

3.

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐