This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A surrealist food photograph. On a stark white plate, there is a single, perfectly spherical "soup bubble" that is iridescent and translucent, like a soap bubble. Floating inside the bubble are tiny, edible flowers. The plate itself has a message written on it, as if garnished with a dark balsamic glaze. The message, in a looping, elegant cursive script, reads: "Today's Special: A Moment of Ephemeral Joy". | |
| A "found footage" style photograph from a lost arctic expedition. The image is blurry, with digital noise, and partially obscured by frost on the camera lens. It shows the interior of a ripped tent, with a high-tech scanner blinking on the frozen ground. The scanner's small, cracked screen displays a terrifyingly simple message in a pixelated, green font: "IT'S BENEATH THE ICE". The image is lit only by the faint glow of the scanner. | |
| A dramatic digital painting of a haunted Tiefling Bard. She sits alone in a dimly lit tavern corner, her face etched with sorrow. Her small, curved horns are adorned with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from diffusers import DiffusionPipeline, BitsAndBytesConfig, AutoModel | |
| import torch | |
| import time | |
| model_name = "Qwen/Qwen-Image" | |
| torch_dtype = torch.bfloat16 | |
| device = "cuda" | |
| pipe = DiffusionPipeline.from_pretrained(model_name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import tarfile | |
| import json | |
| from collections import defaultdict | |
| def group_files(root_dir): | |
| file_groups = defaultdict(list) | |
| for subdir, _, files in os.walk(root_dir): | |
| for file in files: | |
| if file == "urls.txt" or file == "caption_cog_params.txt": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "last_node_id": 67, | |
| "last_link_id": 131, | |
| "nodes": [ | |
| { | |
| "id": 8, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 1200, | |
| 96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "last_node_id": 65, | |
| "last_link_id": 114, | |
| "nodes": [ | |
| { | |
| "id": 4, | |
| "type": "CheckpointLoaderSimple", | |
| "pos": [ | |
| -48, | |
| 96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Using this repo: | |
| https://github.com/kanewallmann/Dreambooth-Stable-Diffusion | |
| Folder structure, using a project name of "ff7r" for example but you can name it however you want | |
| /reg/man/ (all your regularization images of men) | |
| /training_samples/ff7r/man (all your images of men to train) | |
| /reg/woman/ (all your regulaization images of women) | |
| /training_samples/ff7r/woman (all your images of women to train) |