Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to copy the Restart sampler from webUI to Fooocus? #145

Open
Dengyinsong opened this issue Oct 4, 2023 · 2 comments
Open

How to copy the Restart sampler from webUI to Fooocus? #145

Dengyinsong opened this issue Oct 4, 2023 · 2 comments

Comments

@Dengyinsong
Copy link

Restart is the best sampler by far, how or when we can use it in Fooocus?

@barepixels
Copy link

barepixels commented Oct 5, 2023

Had to look it up
https://www.reddit.com/r/StableDiffusion/comments/14n6vt7/new_sampler_restart/

Here's a ComfyUI implementation someone made:
https://github.com/ssitu/ComfyUI_restart_sampling

coppy/paste

In computer science and mathematics, solving complex problems often involves using equations to model how something behaves over time or space. In the realm of generative processes, which help create new data or samples, two kinds of equations are commonly used: Ordinary Differential Equations (ODE) and Stochastic Differential Equations (SDE).

ODE-based samplers are fast but have limitations on how good the results can be.

SDE-based samplers give better results but take longer to do it.

The difference in performance is attributed to how these methods handle errors. ODE has less error due to simplifying assumptions, whereas SDE reduces error through randomness.

To get the best of both worlds, a new method called "Restart" has been developed. This new method aims to be both fast and accurate. In tests, Restart has shown to be better than both ODE and SDE methods in terms of speed and quality of results. Specifically, it's much faster on datasets like CIFAR-10 and ImageNet, and it provides better quality samples.

Also, in text-to-image generation, Restart proves to be more balanced in maintaining both image quality and diversity compared to previous methods.

So, Restart offers a new, balanced way to generate high-quality data quickly, surpassing older methods in both speed and quality.

@gilroff
Copy link

gilroff commented Oct 8, 2023

I'm waiting too lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants