Remove linear option from Deep Shrink as it does not actually work

This commit is contained in:
blepping
2024-02-02 00:36:47 -07:00
parent 06ab405a49
commit ccfe9bfa41
+1 -2
View File
@@ -13,7 +13,6 @@ class DeepShrinkBleh:
"bilinear",
"area",
"bislerp",
"linear",
)
@classmethod
@@ -94,7 +93,7 @@ class DeepShrinkBleh:
sigma_start = model.model.model_sampling.percent_to_sigma(start_percent)
sigma_end = model.model.model_sampling.percent_to_sigma(end_percent)
# Arbitrary number that should have good enough precision
pct_steps = 200
pct_steps = 400
pct_incr = 1.0 / pct_steps
sig2pct = tuple(
model.model.model_sampling.percent_to_sigma(x / pct_steps)