Comments (2)
你说的那段代码就是这个AI训练的奖惩算法啊。这个算法就只是从双方的血量变化计算奖惩。这个retro框架还没有高级到可以从画面检测角色是否使用了过肩摔,从而计算奖惩。不过因为过肩摔等高难度动作通常会造成对手比较大血量损失,所以当AI做出了过肩摔,是会得到比较大的奖励的。从另一方面说,这个游戏要赢的目的就是无论用什么招式让对手血量清零,所以只用血量作为奖惩就足够了。
from street-fighter-ai.
另外一个youtuber做的类似AI就只是用分数的变化来计算血量也是一个方法。我觉得如果只是想让AI赢的几率较大,还是用血量靠谱一点。如果想让AI赢的漂亮(招式华丽),可能用分数比较好。
from street-fighter-ai.
Related Issues (20)
- Gym Retro Integration.exe 手动加载rom的问题 HOT 1
- 完美的跑起来了,up主牛逼;不懂得 可以问我 HOT 16
- 这个只能在windows 下运行?看到 data目录有些 exe 文件。 HOT 1
- 想问一下,论文是chatgpt推荐的吗?还是作者自己找的?chatgpt会给到下载链接吗?
- 其他关卡要怎么进入? HOT 2
- /lib/python3.8/site-packages/retro/ 路径下没有data文件夹
- 画面没有绘制, 只有第一帧 HOT 2
- 大佬 如何用ffmpeg录屏啊 HOT 2
- 运行pip install -r requirements.txt之后出现Error HOT 1
- 配置环境就被卡住了,还请大家帮忙看看。windows 10系统 HOT 4
- 在执行python test.py时报错,有无大佬看一下啥问题 HOT 1
- 作者什么机器,训练大致时长多少?
- 有大佬可以打包一份可用的conda环境包吗,调试两天了环境依然不可
- 步骤及采坑,可以参考《格斗之王AI》使用指南
- 建议开通这个项目的discussion板块
- behold兄弟们!环境问题和rom问题看这里 HOT 7
- 第一步设置环境就出问题了,Macbook pro, M2环境 HOT 1
- 在Mac上的新问题 HOT 1
- 管道已经结束 HOT 1
- 能否根据这个改成金铲铲对战AI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from street-fighter-ai.