[英]I am working on 'https://berkeleyai.github.io/cs188-website/project3.html' reinforcement learning in Pacman project
In this project we are asked to will implement value iteration and Q-learning, and test our agents first on Gridworld (from class), then apply them to a simulated robot controller (Crawler) and Pacman.在这个项目中,我们被要求实施价值迭代和 Q 学习,并首先在 Gridworld(来自课堂)上测试我们的代理,然后将它们应用于模拟机器人 controller(爬虫)和 Pacman。 The instructions are to download a zip folder and edit the valueIterationAgents.py and qlearningAgents.py which I have completed, but when I run commands like:
说明是下载 zip 文件夹并编辑我已完成的 valueIterationAgents.py 和 qlearningAgents.py,但是当我运行如下命令时:
python gridworld.py -m
python gridworld.py -a value -i 100 -k 10
python pacman.py -p PacmanQAgent -x 2000 -n 2010 -l smallGrid
on bash terminal I get this error在 bash 终端我收到这个错误
python: can't open file 'Pacman.py':[Errno 1] Operation not allowed
I fixed it by moving my file from downloads to desktop我通过将我的文件从下载移动到桌面来修复它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.