kohya-ss / kohya-ss/sd-scripts
RAdamSchedulefree give great results but errors after 1 epoch
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
Hello, RAdam has insanely smooth progress throughout the first epoch of training, but after the epoch finishes, it stops working with an error:
Optimizer was not in train mode when step is called.
This can be prevented by instead of using epochs, you can use repeats but i still think this is a bug.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the RAdamSchedulefree training flow for one epoch and capture the point where "Optimizer was not in train mode when step is called" occurs. Compare it with the repeats-based flow described in the issue; done means epoch-based training completes without the optimizer mode error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100