- repository:snake AI
- video: Teach AI To Play Snake - Reinforcement Learning Tutorial With PyTorch And Pygame
- series: Teach AI To Play Snake - Reinforcement Learning Tutorial With PyTorch And Pygame (Part 1)
-
⛵
当前文件夹的封面或者根目录
-
exercise
习题
-
book
学习的主要知识
-
激活常用命令
source ./command.sh
-
创建环境
make
dz_mk
-
删除环境
remove
dz_rm
-
进入环境
dz_cd
-
离开环境
left
dz_lf
-
导入环境
import
dz_im
-
导出环境
dz_ex
install pytorch
dz_in pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia
-
prepare for virtual environment
dz_mk
-
install pygame
dz_cd
-
-
linux ubuntu
sudo apt-get install python3-pygame
recommend:
python3 -m pip install -U pygame --user
-
uninstall
dz_cd && pip uninstall pygame
-
-
-
play
-
play snake
dz_snake
-
play snake with AI
dz_ai
-
-
Could not load the Qt platform plugin "xcb" in "" even though it was found
-
Could not find or load the Qt platform plugin "xcb"
solved:
import matplotlib matplotlib.use('TkAgg')