this post was submitted on 05 Nov 2023
204 points (93.2% liked)

Technology

58092 readers
2855 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] barsoap@lemm.ee 2 points 10 months ago

In case anyone wants to try this out: Get ComfyUI and this plugin to get access to unsampling. Unsample to the full number of steps you're using, and use a cfg=1 for both sampler and unsampler. Use the same positive and negative prompt for both sampler and unsampler (empty works fine, or maybe throw BLIP at it). For A1111: alternative img2img, only heard of it never used it.

What unsampling is doing is finding the noise that will generate a specific image, and it will find noises that you can't even get through the usual interface (because there's more possible latent images than noise seeds). Cfg=1 given the best reproduction possible. In short: The whole thing shows how well a model can generate a replica of something by making sure it gets maximally lucky.

This will work very well if the image you're unsampling was generated by the model you're using to unsample and regenerate it, it will work quite well with related models, imparting its own biases on it, and it's way worse for anything else. If you ask it to re-create some random photograph it's going to have its own spin on it changing up pretty much all of the details, if you try to do something like re-creating a page of text it's going to fail miserably as stable diffusion just can't hack glyphs.