Open horsten opened 2 weeks ago
Last one should be 0.0 so it's always added, this was mostly for when using the SplineEditor to do custom schedules as it wouldn't always make the last a zero, you can just do -1 steps to compensate if you want the exact step count.
For example if I have set it to 80 steps with 40 linear steps, I get the following:
Using sigma_schedule: [1.0, 0.9993749856948853, 0.9987499713897705, 0.9981250166893005, 0.9975000023841858, 0.996874988079071, 0.9962499737739563, 0.9956250190734863, 0.9950000047683716, 0.9943749904632568, 0.9937499761581421, 0.9931250214576721, 0.9925000071525574, 0.9918749928474426, 0.9912499785423279, 0.9906250238418579, 0.9900000095367432, 0.9893749952316284, 0.9887499809265137, 0.9881250262260437, 0.987500011920929, 0.9868749976158142, 0.9862499833106995, 0.9856250286102295, 0.9850000143051147, 0.984375, 0.9837499856948853, 0.9831249713897705, 0.9825000166893005, 0.9818750023841858, 0.981249988079071, 0.9806249737739563, 0.9800000190734863, 0.9793750047683716, 0.9787499904632568, 0.9781249761581421, 0.9775000214576721, 0.9768750071525574, 0.9762499928474426, 0.9756249785423279, 0.9750000238418579, 0.9737812280654907, 0.9713749885559082, 0.9677812457084656, 0.9629999995231628, 0.95703125, 0.949874997138977, 0.941531240940094, 0.9319999814033508, 0.9212812781333923, 0.909375011920929, 0.8962812423706055, 0.8820000290870667, 0.866531252861023, 0.8498749732971191, 0.83203125, 0.8130000233650208, 0.7927812337875366, 0.7713750004768372, 0.7487812638282776, 0.7250000238418579, 0.7000312209129333, 0.6738749742507935, 0.6465312242507935, 0.6179999709129333, 0.5882812738418579, 0.5573750138282776, 0.5252812504768372, 0.492000013589859, 0.45753124356269836, 0.421875, 0.38503125309944153, 0.34700000286102295, 0.30778124928474426, 0.26737499237060547, 0.22578124701976776, 0.18299999833106995, 0.13903124630451202, 0.09387499839067459, 0.04753125086426735, 0.0, 0.0]
This results in 81 steps with sigmas 0.0 for the last two.