mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
Scale sigmoid to default 1.0
This commit is contained in:
@@ -6,3 +6,4 @@ filterwarnings =
|
|||||||
ignore::DeprecationWarning
|
ignore::DeprecationWarning
|
||||||
ignore::UserWarning
|
ignore::UserWarning
|
||||||
ignore::FutureWarning
|
ignore::FutureWarning
|
||||||
|
pythonpath = .
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ opencv-python==4.8.1.78
|
|||||||
einops==0.7.0
|
einops==0.7.0
|
||||||
pytorch-lightning==1.9.0
|
pytorch-lightning==1.9.0
|
||||||
bitsandbytes==0.44.0
|
bitsandbytes==0.44.0
|
||||||
prodigyopt==1.0
|
prodigyopt>=1.0
|
||||||
lion-pytorch==0.0.6
|
lion-pytorch==0.0.6
|
||||||
schedulefree==1.4
|
schedulefree==1.4
|
||||||
tensorboard
|
tensorboard
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ def test_uniform_sampling(args, noise_scheduler, latents, noise, device):
|
|||||||
|
|
||||||
def test_sigmoid_sampling(args, noise_scheduler, latents, noise, device):
|
def test_sigmoid_sampling(args, noise_scheduler, latents, noise, device):
|
||||||
args.timestep_sampling = "sigmoid"
|
args.timestep_sampling = "sigmoid"
|
||||||
args.sigmoid_scale = 10.0
|
args.sigmoid_scale = 1.0
|
||||||
dtype = torch.float32
|
dtype = torch.float32
|
||||||
|
|
||||||
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)
|
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)
|
||||||
@@ -102,7 +102,7 @@ def test_shift_sampling(args, noise_scheduler, latents, noise, device):
|
|||||||
|
|
||||||
def test_flux_shift_sampling(args, noise_scheduler, latents, noise, device):
|
def test_flux_shift_sampling(args, noise_scheduler, latents, noise, device):
|
||||||
args.timestep_sampling = "flux_shift"
|
args.timestep_sampling = "flux_shift"
|
||||||
args.sigmoid_scale = 10.0
|
args.sigmoid_scale = 1.0
|
||||||
dtype = torch.float32
|
dtype = torch.float32
|
||||||
|
|
||||||
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)
|
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)
|
||||||
|
|||||||
Reference in New Issue
Block a user