--- tags: - text-to-image - lora - diffusers - template:diffusion-lora - Red Dead Redemption 2 - RDR2 - Flux - Art - Visual-Design - LoRA widget: - text: >- Red Dead Redemption 2, Captured on a vibrant red backdrop, a painting of a cowboy, holding a gun in his right hand. The cowboy, dressed in a black cowboy hat, is adorned with a white stripe down the center of his chest, adding a pop of color to the scene. Hes wearing a black and white striped shirt, a black jacket, and a black belt around his neck. His beard is neatly trimmed, and he has a black mustache and beard. His left hand is raised in the air, aiming the gun at the camera. To the right of the cowboy, a group of men on horses are visible, their heads turned to the right. They are dressed in dark clothing, and the background features a yellow circle with trees in the center. output: url: images/rdr12.webp - text: >- Red Dead Redemption 2, Against a shadowy, moonlit forest backdrop, a solitary cowboy leans against a towering pine tree, observing a distant campfire where silhouettes of outlaws are gathered. Dressed in a dark poncho, a wide-brimmed hat, and a bullet belt across his chest, he holds a rifle close to his side. His face is mostly hidden, but the glint in his eyes reveals a careful calculation. Mist curls around his feet as he quietly watches, waiting for the right moment to strike. The blue-gray hues of the night cast an eerie calm over the tense scene. output: url: images/rdr11.webp - text: >- Red Dead Redemption 2, Set against a warm, golden sunset, a lone cowboy stands under the arched shadows of a decaying ghost town. His figure is silhouetted, his hands resting calmly on his gun holsters as he watches the sun dip behind distant hills. He wears a wide-brimmed hat and a long duster that flaps gently in the breeze. Shadows stretch across the dusty street in front of him, and a tumbleweed rolls past, giving the scene an air of quiet anticipation and forgotten memories. output: url: images/rdr13.webp base_model: black-forest-labs/FLUX.1-dev instance_prompt: Red Dead Redemption 2 license: apache-2.0 --- # Castor-Red-Dead-Redemption-2-Flux-LoRA -- Dropping in honor of the sixth anniversary of RDR2. ๐Ÿค  -- Demoing rn :https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.** ## Model description **prithivMLmods/Castor-Red-Dead-Redemption-2-Flux-LoRA** Image Processing Parameters | Parameter | Value | Parameter | Value | |---------------------------|--------|---------------------------|--------| | LR Scheduler | constant | Noise Offset | 0.03 | | Optimizer | AdamW | Multires Noise Discount | 0.1 | | Network Dim | 64 | Multires Noise Iterations | 10 | | Network Alpha | 32 | Repeat & Steps | 22 & 2K | | Epoch | 12 | Save Every N Epochs | 1 | Labeling: florence2-en(natural language & English) Total Images Used for Training : 19 ## Setting Up ``` import torch from pipelines import DiffusionPipeline base_model = "black-forest-labs/FLUX.1-dev" pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16) lora_repo = "prithivMLmods/Castor-Red-Dead-Redemption-2-Flux-LoRA" trigger_word = "Red Dead Redemption 2" # Leave trigger_word blank if not used. pipe.load_lora_weights(lora_repo) device = torch.device("cuda") pipe.to(device) ``` ## App File Structure /project-root/ โ”œโ”€โ”€ .gitattributes โ”œโ”€โ”€ README.md โ”œโ”€โ”€ app.py โ”œโ”€โ”€ pythonproject.py # Best Dimensions - 512 X 512 - 1024 X 1024 - 768 X 1024 ## Trigger words ๐Ÿงจ > [!WARNING] > **Trigger words:** You should use `Red Dead Redemption 2` to trigger the image generation. ## Download model Weights for this model are available in Safetensors format. [Download](/prithivMLmods/Castor-Red-Dead-Redemption-2-Flux-LoRA/tree/main) them in the Files & versions tab. ## SDXL LoRA ๐Ÿค : https://huggingface.co/prithivMLmods/Canopus-Red-Dead-Minimalize-LoRA