百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#2407·sd-scripts

[bug] --skip_until_initial_step 使用时,--gradient_accumulation_steps > 1 时会过度地跳过重启位置,导致学习结束

作者: hybskgks28275创建于 2026年7月20日更新于 2026年7月21日

Events

--resume restarts the learning state, and when --skip_until_initial_step is specified and --gradient_accumulation_steps is greater than 2, a significantly larger number of epochs are skipped than the number of steps that have been resumed. As a result, the internal number of steps decreases to a negative value, and the learning stops immediately without starting. The state is successfully loaded, but the number of epochs skipped after --skip_until_initial_step is executed is excessive. The training loop is not entered and terminates.

内容来源: kohya-ss/sd-scripts

查看 GitHub 原文在 GitHub 查看讨论