Text-to-Image
Diffusers
lora
flux
cape
File size: 6,474 Bytes
be79e8d
 
 
 
 
 
 
 
1ebe66b
 
 
 
be79e8d
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
 
 
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
1ebe66b
 
 
 
be79e8d
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
1ebe66b
 
 
be79e8d
 
 
 
1ebe66b
 
 
 
 
be79e8d
 
 
 
 
 
 
 
 
1ebe66b
 
be79e8d
 
3396094
be79e8d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b0d8134
be79e8d
 
 
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
---
tags:
- text-to-image
- lora
- diffusers
- flux
- cape
widget:
- text: >-
    Ray-Ban Meta Smart Glasses, close-up photograph, woman looking up, long
    blonde hair, wearing black-framed glasses, light pink lips, wearing gold
    earrings, navy blue background
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905455000__000004000_0.jpg
- text: >-
    a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart
    Glasses, sitting at a cafe
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905478021__000004000_1.jpg
- text: >-
    a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses,
    smoke machine, lazer lights, holding a martini
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905501069__000004000_2.jpg
- text: >-
    a man showing off his cool new t shirt at the beach, wearing Ray-Ban Meta
    Smart Glasses, a shark is jumping out of the water in the background
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905524024__000004000_3.jpg
- text: a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905547415__000004000_4.jpg
- text: >-
    close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop,
    holding a cup, smiling
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905570463__000004000_5.jpg
- text: >-
    Ray-Ban Meta Smart Glasses, close-up photograph, wearing black-framed
    yellow-tinted sunglasses, short brown hair, slight smile, clear blue sky
    with clouds in the background
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905593626__000004000_6.jpg
- text: >-
    photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium
    shot, modeling clothing, studio lighting, white backdrop
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905616748__000004000_7.jpg
- text: >-
    a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban
    Meta Smart Glasses
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905639766__000004000_8.jpg
- text: >-
    Ray-Ban Meta Smart Glasses, close-up of a man adjusting glasses, photograph,
    partial side angle, wearing a green knit beanie and green jacket with
    visible stitching and button, short beard and mustache, silver earring in
    left ear, background features out-of-focus light colors
  parameters:
    negative_prompt: empty
  output:
    url: images/1723905662891__000004000_9.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Ray-Ban Meta Smart Glasses
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
datasets:
- martintomov/rayban-meta-glasses
---

# Ray-Ban Meta Smart Glasses v2
# Flux LoRA, Fashion Virtual Try-on E-commerce Experiment

Trained for 4000 steps on NVIDIA RTX 4090 (24GB VRAM), Learning Rate 2e-4

- Brand: Ray-Ban Meta
- Item: [link](https://www.ray-ban.com/usa/ray-ban-meta-smart-glasses?srsltid=AfmBOopcJKS6BEG9MVgY468fLm7bCsBtBmGMa2bZx-AFCgNrmpu-T7q1)
<div style="display:flex; justify-content:flex-start; align-items:center;">
  <img src="https://cdn-uploads.huggingface.co/production/uploads/646ddc68deb963805b31b9f8/CRJrY79xZrg9Nguyn1oOa.jpeg" style="width:500px;">
</div>

## Trigger words

You should use `Ray-Ban Meta Smart Glasses` to trigger the image generation

<Gallery />

## Training

```
{
job: extension
config:
  name: rayban-meta-4000-v2
  process:
  - type: sd_trainer
    training_folder: output
    performance_log_every: 1000
    device: cuda:0
    trigger_word: Ray-Ban Meta Smart Glasses
    network:
      type: lora
      linear: 32
      linear_alpha: 32
    save:
      dtype: float16
      save_every: 250
      max_step_saves_to_keep: 4
    datasets:
    - folder_path: C:\...\rayban-meta-dataset
      caption_ext: txt
      caption_dropout_rate: 0.05
      shuffle_tokens: false
      cache_latents_to_disk: true
      resolution:
      - 512
      - 768
      - 1024
    train:
      batch_size: 1
      steps: 4000
      gradient_accumulation_steps: 1
      train_unet: true
      train_text_encoder: false
      gradient_checkpointing: true
      noise_scheduler: flowmatch
      optimizer: adamw8bit
      lr: 0.0002
      linear_timesteps: true
      ema_config:
        use_ema: true
        ema_decay: 0.99
      dtype: bf16
    model:
      name_or_path: C:\...\ai-toolkit\FLUX.1-dev
      is_flux: true
      quantize: true
    sample:
      sampler: flowmatch
      sample_every: 250
      width: 1024
      height: 1024
      prompts:
      - Ray-Ban Meta Smart Glasses, close-up photograph, woman looking up, long blonde
        hair, wearing black-framed glasses, light pink lips, wearing gold earrings,
        navy blue background
      - a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart Glasses,
        sitting at a cafe
      - a a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses,
        smoke machine, lazer lights, holding a martini
      - a man showing off his cool new t shirt at the beach, wearing Ray-Ban Meta
        Smart Glasses, a shark is jumping out of the water in the background
      - a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
      - close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop, holding
        a cup, smiling
      - Ray-Ban Meta Smart Glasses, close-up photograph, wearing black-framed yellow-tinted
        sunglasses, short brown hair, slight smile, clear blue sky with clouds in
        the background.
      - photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium
        shot, modeling clothing, studio lighting, white backdrop
      - a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban
        Meta Smart Glasses
      - Ray-Ban Meta Smart Glasses, close-up of a man adjusting glasses, photograph,
        partial side angle, wearing a green knit beanie and green jacket with visible
        stitching and button, short beard and mustache, silver earring in left ear,
        background features out-of-focus light colors
      neg: ''
      seed: 42
      walk_seed: true
      guidance_scale: 4
      sample_steps: 20
meta:
  name: rayban-meta-4000-v2
  version: '1.0'
}
```