You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reproduce the TRUE_CUBIC_HERMITE. but it seems invalid. The following are corrected (I guess).
In this case, FAKE_CUBIC_HERMITE == TRUE_CUBIC_HERMITE
defplot(s=1.0):
# true cubic hermite# This is corrected Cubic hermite. (FAKE_CUBIC_HERMITE is the same value)x=np.linspace(0, 1, 25)
x2=x*xx3=x2*xx1=x[0]
xn=x[24]
S=100/24# corrected eqn.y= (2*x3-3*x2+1)*x1+(x3-2*x2+x)*S+(-2*x3+3*x2)*xn+ (x3-x2)*Stmp="TRUE_CUBIC_HERMITE 0,"+",".join(map(lambdax: str(int(x)) ifx==int(x) elsestr(x), y))
print(tmp)
tmp="TRUE_REVERSE_CUBIC_HERMITE 0,"+",".join(map(lambdax: str(int(x)) ifx==int(x) elsestr(x), 1-y))
print(tmp)
# fake cubic hermitex=np.linspace(0, 1, 25)
x2=x*xx3=x2*xS=100/24.# this STEP value could be changed easily.y= (x3-2*x2+x)*S+ (-2*x3+3*x2) + (x3-x2)*Sy=y*stmp="FAKE_CUBIC_HERMITE 0,"+",".join(map(lambdax: str(int(x)) ifx==int(x) elsestr(x), y))
print(tmp)
tmp="FAKE_REVERSE_CUBIC_HERMITE 0,"+",".join(map(lambdax: str(int(x)) ifx==int(x) elsestr(x), 1-y))
print(tmp)
and these results could be easily adapted on SDXL as follows.
The preset weights in SDXL can be easily distinguished from SD by the different counting number of them.
Aside from the fact that the UI could be a bit confusing, we can support both SD and SDXL with a small fix.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been digging through the MBW presets for some time to reproduce the exact preset values, and this is the result.
simple presets
SMOOTHSTEPs
Cubic Hermite
I can't reproduce the TRUE_CUBIC_HERMITE. but it seems invalid. The following are corrected (I guess).
In this case, FAKE_CUBIC_HERMITE == TRUE_CUBIC_HERMITE
and these results could be easily adapted on SDXL as follows.
(all simple cases are omitted)
These are the final presets for SDXL
The preset weights in SDXL can be easily distinguished from SD by the different counting number of them.
Aside from the fact that the UI could be a bit confusing, we can support both SD and SDXL with a small fix.
See also wkpark/sd-webui-model-mixer#2
Beta Was this translation helpful? Give feedback.
All reactions