Fixed Gen2 Use Evolved Sampling using USE_EXISTING when autoselect is not selected instead of actual choice
This commit is contained in:
@@ -63,8 +63,6 @@ class UseEvolvedSamplingNode:
|
||||
# if autoselect, get suggested beta_schedule from motion model
|
||||
if beta_schedule == BetaSchedules.AUTOSELECT and not model.motion_models.is_empty():
|
||||
beta_schedule = model.motion_models[0].model.get_best_beta_schedule(log=True)
|
||||
else:
|
||||
beta_schedule = BetaSchedules.USE_EXISTING
|
||||
new_model_sampling = BetaSchedules.to_model_sampling(beta_schedule, model)
|
||||
if new_model_sampling is not None:
|
||||
model.add_object_patch("model_sampling", new_model_sampling)
|
||||
|
||||
Reference in New Issue
Block a user