chap14:优化 Reversi 训练参数化并增加报告导出#6030
Open
cccrrr0429 wants to merge 1 commit intoOpenHUTB:mainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改概述:
对 `src/chap14_reinforcement_learning/reversi_main.py` 进行小幅工程化改进,在不改变 Reversi 强化学习主流程的前提下,增强参数可配置性、实验可复现性和结果可追踪性;同步更新 `README.md` 补充运行说明。修改的详细描述
src/chap14_reinforcement_learning/reversi_main.pyREVERSI_SEEDREVERSI_MAX_EPOCHSREVERSI_RENDER_INTERVALREVERSI_MAX_STEPSREVERSI_REPORT_OUTREVERSI_DRY_RUNrandom、numpy)。outputs/reversi_train_report.json。DRY_RUN模式,便于在不完整依赖环境下快速验证脚本流程与输出文件。src/chap14_reinforcement_learning/README.md经过了什么样的测试?
运行效果
动图、视频、截图等
