RL-FlappyBird:使用强化学习训练FlappyBird

上传者: 42126749 | 上传时间: 2022-11-27 22:41:34 | 文件大小: 8.43MB | 文件类型: ZIP
RL飞扬的鸟 概述 该项目是强化学习的基本应用。 它集成了以使用DQN来训练代理。 预训练模型在单个GPU上以3M步进行训练。 您可以找到解释培训过程的,或。 构建项目并运行 该项目支持使用Maven进行构建,您可以使用以下命令进行构建: mvn compile 以下命令将开始在没有图形的情况下进行训练: mvn exec:java -Dexec.mainClass="com.kingyu.rlbird.ai.TrainBird" 上面的命令将从头开始训练。 您也可以尝试使用预先训练的体重进行训练: mvn exec:java -Dexec.mainClass="com.kingyu.rlbird.ai.TrainBird" -Dexec.args="-p" 要直接使用模型进行测试,您可以执行以下操作 mvn exec:java -Dexec.mainClass="com.ki

文件下载

资源详情

[{"title":"( 28 个子文件 8.43MB ) RL-FlappyBird:使用强化学习训练FlappyBird","children":[{"title":"RL-FlappyBird-master","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"model","children":[{"title":"dqn-trained-0000.params <span style='color:#111;'> 6.21MB </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"pipe.png <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"pipe_top.png <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"pipe_bottom.png <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"0.png <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"kingyu","children":[{"title":"rlbird","children":[{"title":"ai","children":[{"title":"TrainBird.java <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"GameUtil.java <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"Constant.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"Arguments.java <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"game","children":[{"title":"component","children":[{"title":"Bird.java <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"ScoreCounter.java <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"Ground.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"GameElementLayer.java <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"Pipe.java <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"FlappyBird.java <span style='color:#111;'> 10.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"rl","children":[{"title":"ReplayBuffer.java <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"env","children":[{"title":"RlEnv.java <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"ActionSpace.java <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"LruReplayBuffer.java <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"agent","children":[{"title":"QAgent.java <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"RlAgent.java <span style='color:#111;'> 761B </span>","children":null,"spread":false},{"title":"EpsilonGreedy.java <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bird.gif <span style='color:#111;'> 2.64MB </span>","children":null,"spread":false},{"title":"License <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 336B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明