baselines算法库的安装——Ubuntu20.04系统使用anaconda环境配置
2023-09-11 14:19:19 时间
baselines算法库不做过多介绍,个人认为这是公开是所有reinforcement learning算法库中最权威的,虽然没有后期更新,也就是没有了学术界的state of the art , 但还是十分的经典。
算法库地址:
https://github.com/openai/baselines
======================================================
具体安装过程:
sudo apt-get update && sudo apt-get install libopenmpi-dev zlib1g-dev
sudo snap install cmake --classic
git clone https://github.com/openai/baselines
cd baselines
conda create -n test python=3.7
conda activate test
conda install tensorflow-gpu==1.14
pip install -e .
pip install filelock pip install matplotlib pip install pandas pip install gym[atari] conda install -c conda-forge ffmpeg==4.2.2
假设anaconda安装位置为~/anaconda3,那么执行下面操作:
ln -s ~/anaconda3/envs/test/lib/libopenh264.so ~/anaconda3/envs/test/lib/libopenh264.so.5
cd ~/anaconda3/envs/test/lib/python3.7/site-packages/atari_py/ rm atari_roms -rf git clone https://gitee.com/devilmaycry812839668/atari_roms rm atari_roms/README.md cd -
检测下是否安装成功:
pip install pytest
pytest
顺利通过测试,成功安装baselines算法库。
======================================================
相关文章
- 关于树莓派 BOOBS 安装之后的初级操作
- python 在linux系统的安装教程
- Ubuntu12.04安装ia32-libs
- oozie4.3.0的安装与配置 + hadoop2.7.3
- CentOS 6.4单机环境下安装配置Storm
- u盘装系统,u盘安装win7系统教程
- centos7: php7.2.9安装配置
- Centos7 k8s安装部署
- Ubuntu 20.04.1 安装软件和系统配置脚本
- 安装elasticsearch及中文IK和近义词配置
- 在CentOS上安装与配置Tomcat
- CentOS7 yum 安装与配置MySQL5.7
- Linux centos openshift安装教程整理
- docker安装mysql及相关配置、运行细节和常见报错解决方案
- hadoop yarn集群HA安装及配置
- 【STM32F407的DSP教程】第2章 Matlab R2018a的安装
- win10安装Cuda环境
- ubuntu16.04 安装cuda9.0+cudnn7.0.5+tensorflow+nvidia-docker配置GPU服务
- elasticsearch学习一、安装和配置
- 使用Docker 安装配置Zabbix 监控,实现局域网主机监控告警
- ubuntu14.04安装opencv3.0
- Windows 10下安装配置Caffe并支持GPU加速(修改版)
- windows 安装 Cygwin 配置 tmux
- yum安装mysql
- centos 7安装maven
- 【过程记录】ssh配置免密登录/anaconda环境迁移/gcc_g++安装切换