kohya-ss / kohya-ss/sd-scripts

HEIP dreambooth Error when exporting smpler image None of the inputs have requires_grad=True. Gradients will be None

Open
#1,036 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

What should I do? And I was reminded :
}
is outdated. `steps_offset` should be set to 1 instead of 0. Please make sure to update the config accordingly as leaving `steps_offset` might led to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file
deprecate("steps_offset!=1", "1.0.0", deprecation_message, standard_warn=False)

C:\Users\.......(Inconvenient to display)

warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the DreamBooth sample-image export and record the full warning context, including the “None of the inputs have requires_grad=True” message. Inspect the referenced scheduler/scheduler_config.json and the steps_offset warning; done means identifying a reproducible cause and documenting or validating the appropriate fix.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.