当前位置:网站首页>Take you hand-in-hand to do intensive learning experiments -- knock the level in detail
Take you hand-in-hand to do intensive learning experiments -- knock the level in detail
2022-07-06 17:13:00 【Toothache, want to eat peach】
The chicken is finishing an assignment
It's hard
“ If you are not skilled in the installation environment , Don't be impatient , Calm down and breathe deeply , There will always be strange problems , Some error reports can't be read or searched , Take your time , Try to be close to my version number , Then take a snapshot ”
The environment is as follows :
ubuntu20.04
anaconda-5.1.0
pycharm
0 expect
What are we going to do ?
1 Set up the environment
Download it git package , establish anaconda Environmental Science ,conda env create -f env.yml
Three files failed to download
Asked elder martial brother
Prepare to change the source of Beiwai
( Change him ! It's really much faster !)
https://mirrors.bfsu.edu.cn/help/anaconda/
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/r
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud
msys2: https://mirrors.bfsu.edu.cn/anaconda/cloud
bioconda: https://mirrors.bfsu.edu.cn/anaconda/cloud
menpo: https://mirrors.bfsu.edu.cn/anaconda/cloud
pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud
pytorch-lts: https://mirrors.bfsu.edu.cn/anaconda/cloud
simpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud
then .condrc The document looks like this 
function conda clean -i Clear index cache , Make sure you use the index provided by the mirror station .
function conda create -n myenv numpy Test it .
Still reported ssl The fault of 
Still the same as before , hold .condrc Medium https Change to http, All of them ~source
Success Hahahahahaha 

2 Download project
git clone https://github.com/MultiAgentLearning/playground.git Or download the compressed package directly
I didn't install git, Directly download the installation package
Then I changed my name to playground, Keep the same as the courseware
3 install
Enter the directory of the project ,
cd ~/playground
( Open it directly in that folder , There is no need to enter hahaha )establish anaconda Environmental Science ,
conda env create -f env.yml
Here we go ! Promise me ! When it is executing, keep the keyboard away !
I tried this many times
The source of China University of science and technology has been replaced by that of Beijing Foreign Studies University
This time I finally saw the dawn , The download went well , Then I carefully pressedctrl+cThen it ended , I tried many good methods and failed again
( Including but not limited to the following methods :Direct loading gym package ,
pip install gym, But this is the latest version , Not the version specified in this packageLimited version installation
conda install gym==0.10.11, Still reported the same mistakeRemove... First pommerman Environmental Science , Re execution
conda env create -f env.yml, Not yet.Then I got my senior brother's pommerman Folder , Not yet.
Then I changed the source , Not yet.
)
When I reinstalled the environment for the second time , Didn't touch the keyboard , But still reported this error .
steady !

Then this time, I will keep the snapshot well , Go back to the previous state , Just execute the order again, Hahahahahaha
Finally successful hahahahahahahahaha
wuhu ! take off !
Then let's look at the effect 
enter once !OJBK!
- Common commands
Remove environment (pommerman)conda remove -n xxxx --all
I'm stuck gym, Separatepip install gym
Limited version installationconda install gym==0.10.11
Take a look at the current environment envconda env list
Activate the environment
Out of the environmentconda deactivate
Experiment
docker

perform
docker build -t pommerman/simple-agent -f examples/docker-agent/Dockerfile .
Tips 
Then follow the prompts to install it first 


4 twitter
Be sure to make good use of snapshots , Please enjoy Peng Peng's Fairy snapshot

边栏推荐
- Only learning C can live up to expectations top2 P1 variable
- JVM垃圾回收概述
- Alibaba cloud server docker installation mysql5.5
- 控制转移指令
- QT system learning series: 1.2 style sheet sub control lookup
- High performance mysql (Third Edition) notes
- JS garbage collection mechanism and memory leakage
- 学习投资大师的智慧
- Flink 解析(四):恢复机制
- Activiti目录(三)部署流程、发起流程
猜你喜欢
![Which is more important for programming, practice or theory [there are some things recently, I don't have time to write an article, so I'll post an article on hydrology, and I'll fill in later]](/img/a1/7dd41e75d6768159317b65e436030d.jpg)
Which is more important for programming, practice or theory [there are some things recently, I don't have time to write an article, so I'll post an article on hydrology, and I'll fill in later]

The QT program compiled on CentOS lacks a MySQL driven solution

这群程序员中的「广告狂人」,把抖音广告做成了AR游戏

Fdog series (V): use QT to imitate QQ to realize login interface to main interface, function chapter.

High performance mysql (Third Edition) notes

Instructions for Redux

亮相Google I/O,字节跳动是这样应用Flutter的

学习投资大师的智慧

Flink 解析(七):时间窗口

The "advertising maniacs" in this group of programmers turned Tiktok advertisements into ar games
随机推荐
JVM运行时数据区之程序计数器
High performance mysql (Third Edition) notes
關於Stream和Map的巧用
[graduation project] QT from introduction to practice: realize imitation of QQ communication, which is also the last blog post in school.
Only learning C can live up to expectations TOP4 S1E6: data type
8086 内存
MySQL日期函数
TCP's three handshakes and four waves
我走過最迷的路,是字節跳動程序員的腦回路
Mongodb在node中的使用
Introduction to spring trick of ByteDance: senior students, senior students, senior students, and the author "brocade bag"
QT system learning series: 1.2 style sheet sub control lookup
Logical operation instruction
亮相Google I/O,字节跳动是这样应用Flutter的
MySQL字符串函数
Shell_ 04_ Shell script
Data transfer instruction
JVM之垃圾回收器下篇
ByteDance technical Interviewer: what kind of candidate do I want to pick most
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution