简体   繁体   English

我正在 Pacman 项目中进行“https://berkeleyai.github.io/cs188-website/project3.html”强化学习

[英]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.

相关问题 我无法在我的 Python 项目中使用多线程 - I am having trouble getting multithreading working in my Python project 将Django博客项目集成到HTML网站中 - Integrate Django blog project in HTML website 我已经从 github 下载了一个 opencv 项目并且遇到了一些错误 - I have downloaded a opencv project from github and am getting some errors 强化学习 - 动作数量 - reinforcement learning - number of actions 用Keras模型进行强化学习 - Reinforcement Learning with Keras model 我正在尝试为我的项目抓取一个网站,但我遇到了一个错误。 看看,让我知道是否有人对此有建议 - I am trying to scrape a website for my project but I am stuck with an error. Take a look and let me know if anyone have suggestion for this Python:强化学习井字游戏 AI 工作? - Python: Reinforcement learning Tic-Tac-Toe AI working? 需要为项目创建一个集成了 html 和 python 的网站 - Needing to create a website with html and python integrated in it for a project 我正在用 html 制作一个项目,想知道是否可以将 .py 文件导入到 html 代码中 - I am making a project in html and was wondering if it is possible to import a .py file into the html code 我正在 python 中创建一个项目,这是一个纸牌游戏 - i am creating a project in python it is a game of cards
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM