File size: 4,362 Bytes
c4a57c7
 
 
 
 
 
6ca69b5
 
 
 
 
 
c4a57c7
6ca69b5
 
 
 
 
 
 
 
 
 
 
c4a57c7
3defc11
6ca69b5
 
 
 
 
 
 
 
 
677959f
 
6ca69b5
 
 
 
 
 
 
 
c4a57c7
3defc11
c4a57c7
 
 
 
 
 
74352c4
 
9b4389c
 
c4a57c7
 
59d2d39
c4a57c7
59d2d39
c4a57c7
59d2d39
c4a57c7
59d2d39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4a57c7
 
 
 
 
d78c8e0
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
---
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

<Gallery />

**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