martintomov commited on
Commit
be79e8d
1 Parent(s): 99e5589

Initial commit

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
README.md CHANGED
@@ -1,5 +1,171 @@
1
- ---
2
- license: other
3
- license_name: flux-1-dev-non-commercial-license
4
- license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - flux
7
+ - cape
8
+ widget:
9
+ - 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
10
+ parameters:
11
+ negative_prompt: empty
12
+ output:
13
+ url: images/1723905455000__000004000_0.jpg
14
+ - text: a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart Glasses, sitting at a cafe
15
+ parameters:
16
+ negative_prompt: empty
17
+ output:
18
+ url: images/1723905478021__000004000_1.jpg
19
+ - text: a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses, smoke machine, lazer lights, holding a martini
20
+ parameters:
21
+ negative_prompt: empty
22
+ output:
23
+ url: images/1723905501069__000004000_2.jpg
24
+ - 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
25
+ parameters:
26
+ negative_prompt: empty
27
+ output:
28
+ url: images/1723905524024__000004000_3.jpg
29
+ - text: a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
30
+ parameters:
31
+ negative_prompt: empty
32
+ output:
33
+ url: images/1723905547415__000004000_4.jpg
34
+ - text: close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop, holding a cup, smiling
35
+ parameters:
36
+ negative_prompt: empty
37
+ output:
38
+ url: images/1723905570463__000004000_5.jpg
39
+ - 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
40
+ parameters:
41
+ negative_prompt: empty
42
+ output:
43
+ url: images/1723905593626__000004000_6.jpg
44
+ - text: photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium shot, modeling clothing, studio lighting, white backdrop
45
+ parameters:
46
+ negative_prompt: empty
47
+ output:
48
+ url: images/1723905616748__000004000_7.jpg
49
+ - text: a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban Meta Smart Glasses
50
+ parameters:
51
+ negative_prompt: empty
52
+ output:
53
+ url: images/1723905639766__000004000_8.jpg
54
+ - 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
55
+ parameters:
56
+ negative_prompt: empty
57
+ output:
58
+ url: images/1723905662891__000004000_9.jpg
59
+ base_model: black-forest-labs/FLUX.1-dev
60
+ instance_prompt: Ray-Ban Meta Smart Glasses
61
+ license: other
62
+ license_name: flux-1-dev-non-commercial-license
63
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
64
+ ---
65
+
66
+ # Ray-Ban Meta Smart Glasses v2 - WIP
67
+ # Flux LoRA, Fashion Virtual Try-on E-commerce Experiment
68
+
69
+ Trained for 4000 steps on NVIDIA RTX 4090 (24GB VRAM), Learning Rate 2e-4
70
+
71
+ - Brand: Ray-Ban Meta
72
+ - Item: [link](https://www.ray-ban.com/usa/ray-ban-meta-smart-glasses?srsltid=AfmBOopcJKS6BEG9MVgY468fLm7bCsBtBmGMa2bZx-AFCgNrmpu-T7q1)
73
+ <div style="display:flex; justify-content:flex-start; align-items:center;">
74
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/646ddc68deb963805b31b9f8/CRJrY79xZrg9Nguyn1oOa.jpeg" style="width:500px;">
75
+ </div>
76
+
77
+ ## Trigger words
78
+
79
+ You should use `Ray-Ban Meta Smart Glasses` to trigger the image generation
80
+
81
+ <Gallery />
82
+
83
+ ## Training
84
+
85
+ ```
86
+ {
87
+ job: extension
88
+ config:
89
+ name: rayban-meta-4000-v2
90
+ process:
91
+ - type: sd_trainer
92
+ training_folder: output
93
+ performance_log_every: 1000
94
+ device: cuda:0
95
+ trigger_word: Ray-Ban Meta Smart Glasses
96
+ network:
97
+ type: lora
98
+ linear: 32
99
+ linear_alpha: 32
100
+ save:
101
+ dtype: float16
102
+ save_every: 250
103
+ max_step_saves_to_keep: 4
104
+ datasets:
105
+ - folder_path: C:\...\rayban-meta-dataset
106
+ caption_ext: txt
107
+ caption_dropout_rate: 0.05
108
+ shuffle_tokens: false
109
+ cache_latents_to_disk: true
110
+ resolution:
111
+ - 512
112
+ - 768
113
+ - 1024
114
+ train:
115
+ batch_size: 1
116
+ steps: 4000
117
+ gradient_accumulation_steps: 1
118
+ train_unet: true
119
+ train_text_encoder: false
120
+ gradient_checkpointing: true
121
+ noise_scheduler: flowmatch
122
+ optimizer: adamw8bit
123
+ lr: 0.0002
124
+ linear_timesteps: true
125
+ ema_config:
126
+ use_ema: true
127
+ ema_decay: 0.99
128
+ dtype: bf16
129
+ model:
130
+ name_or_path: C:\...\ai-toolkit\FLUX.1-dev
131
+ is_flux: true
132
+ quantize: true
133
+ sample:
134
+ sampler: flowmatch
135
+ sample_every: 250
136
+ width: 1024
137
+ height: 1024
138
+ prompts:
139
+ - Ray-Ban Meta Smart Glasses, close-up photograph, woman looking up, long blonde
140
+ hair, wearing black-framed glasses, light pink lips, wearing gold earrings,
141
+ navy blue background
142
+ - a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart Glasses,
143
+ sitting at a cafe
144
+ - a a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses,
145
+ smoke machine, lazer lights, holding a martini
146
+ - a man showing off his cool new t shirt at the beach, wearing Ray-Ban Meta
147
+ Smart Glasses, a shark is jumping out of the water in the background
148
+ - a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
149
+ - close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop, holding
150
+ a cup, smiling
151
+ - Ray-Ban Meta Smart Glasses, close-up photograph, wearing black-framed yellow-tinted
152
+ sunglasses, short brown hair, slight smile, clear blue sky with clouds in
153
+ the background.
154
+ - photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium
155
+ shot, modeling clothing, studio lighting, white backdrop
156
+ - a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban
157
+ Meta Smart Glasses
158
+ - Ray-Ban Meta Smart Glasses, close-up of a man adjusting glasses, photograph,
159
+ partial side angle, wearing a green knit beanie and green jacket with visible
160
+ stitching and button, short beard and mustache, silver earring in left ear,
161
+ background features out-of-focus light colors
162
+ neg: ''
163
+ seed: 42
164
+ walk_seed: true
165
+ guidance_scale: 4
166
+ sample_steps: 20
167
+ meta:
168
+ name: rayban-meta-4000-v4
169
+ version: '1.0'
170
+ }
171
+ ```
images/1723905455000__000004000_0.jpg ADDED
images/1723905478021__000004000_1.jpg ADDED
images/1723905501069__000004000_2.jpg ADDED
images/1723905524024__000004000_3.jpg ADDED
images/1723905547415__000004000_4.jpg ADDED
images/1723905570463__000004000_5.jpg ADDED
images/1723905593626__000004000_6.jpg ADDED
images/1723905616748__000004000_7.jpg ADDED
images/1723905639766__000004000_8.jpg ADDED
images/1723905662891__000004000_9.jpg ADDED
images/put_images_here ADDED
File without changes
rayban-meta-4000-v2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764c2902559bbd60ab9e21d917d6312f565e4a7536853283700d8186859aeaf4
3
+ size 343805496