I had a request for more info on my workflow. The last photo of the album is my setup. These took about 26 seconds each on an RTX 4070 and overflowed the 12GB of VRAM by about an additional 5GB during the ‘Hires fix’ phase (no big deal just slows thing down). Below the album you’ll find a Python script I use to build the album after I upload the images. About half of them were ‘good enough’ to include in the album.

Click on an image to see prompt details. Check out my post history for more.

Input file will look like this:

https://image.delivery/page/adezoha
https://image.delivery/page/dkckyle
...

Output will look like this:

[![](https://fast.image.delivery/adezoha.jpg)][1]
[![](https://fast.image.delivery/dkckyle.jpg)][2]

[1]: https://image.delivery/page/adezoha
[2]: https://image.delivery/page/dkckyle

Python script:

def convert_urls(input_file, output_file):
    with open(input_file, 'r') as f:
        urls = f.read().splitlines()

    with open(output_file, 'w') as f:
        f.write('Click on an image to see prompt details.\n')
        f.write('Check out my post history for more.\n\n')
        for i, url in enumerate(urls, start=1):
            id = url.split('/')[-1]
            if (url):
                f.write(f'[![](https://fast.image.delivery/{id}.jpg)][{i}]\n')

        f.write('\n')

        for i, url in enumerate(urls, start=1):
            if(url):
                f.write(f'[{i}]: {url}\n')

# Usage
convert_urls('input.txt', 'output.txt')
  • justmypornbrowsingaccount@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    Nice, thanks for the info. I noticed that I crash, when Hires Fix is enabled because my GPU runs out of memory.
    Is there a toggle to enable overflowing to system RAM?

    • skrewlews@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      I don’t recall having to manually turn that feature on. (I’m on Windows 11). If I recall, Windows will only allow a process using VRAM to overflow into system RAM up to half of your total system RAM. So, if your system has 32GB, Windows will only let you use 16GB. If it’s crashing, you can try generating your images and then upscaling them afterwards in a separate process…

  • rljl@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    It’s amusing that these negative prompts like “bad hands” and “fake” are so prevalent, are you just copying them from others? It doesn’t make sense - you’re saying you don’t want this or this.

    • skrewlews@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Haha, yes, I’m copying them lol - but the interesting thing is that a negative prompt has the potential to remove things other than the thing the prompt implies. For example, if you add ‘ginger’ to your negative prompt you’ll get different results than if you add ‘red head’. So, in short, if I find a prompt I want to copy, I copy both the prompt and negative prompt to increase the likelihood of getting results similar to the image I’m trying to replicate.