mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-27 09:44:02 +00:00
Adjusted flow matching so target noise multiplier works properly with it.
This commit is contained in:
@@ -959,7 +959,7 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
raise ValueError(f"Unknown content_or_style {content_or_style}")
|
||||
|
||||
# do flow matching
|
||||
# if self.sd.is_rectified_flow:
|
||||
# if self.sd.is_flow_matching:
|
||||
# u = compute_density_for_timestep_sampling(
|
||||
# weighting_scheme="logit_normal", # ["sigma_sqrt", "logit_normal", "mode", "cosmap"]
|
||||
# batch_size=batch_size,
|
||||
|
||||
Reference in New Issue
Block a user