1,实现目的:
复现相应文章,后续将其改写成pytorch版
2,复现对象
https://github.com/danijar/dreamer
2,环境配置
首先,按照首页安装相应库
conda create --name DREAMERV1 python=3.8.17
pip3 install tensorflow-gpu==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
pip3 install tensorflow_probability -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
pip3 install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
目前发现dm_control库难以直接利用git安装,则
pip install dm_control -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
同时后续运行发现,要保证protobuf版本不能过高,则需要安装
pip install protobuf==3.19.5
需要配置《环境变量》
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python