Finish on me wherever you like... [Album] [Workflow] [Request]
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.
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')
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?
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…