martintomov commited on
Commit
d2eda93
·
1 Parent(s): af6522c

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/1723887557469__000002000_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/1723887579709__000002000_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/1723887602007__000002000_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/1723887624236__000002000_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/1723887646504__000002000_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/1723887668772__000002000_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/1723887691030__000002000_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/1723887713254__000002000_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/1723887735556__000002000_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/1723887757794__000002000_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 v1 - WIP
67
+ # Flux LoRA, Fashion Virtual Try-on E-commerce Experiment
68
+
69
+ Trained for 2000 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
+ <Gallery />
78
+
79
+ ## Trigger words
80
+
81
+ You should use `Ray-Ban Meta Smart Glasses` to trigger the image generation
82
+
83
+ ## Training
84
+
85
+ ```
86
+ {
87
+ job: extension
88
+ config:
89
+ name: rayban-meta-2000-v1
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: 16
99
+ linear_alpha: 16
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: 2000
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 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-2000-v1
169
+ version: '1.0'
170
+ }
171
+ ```
config.yaml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: rayban-meta-2000-v3
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ performance_log_every: 1000
8
+ device: cuda:0
9
+ trigger_word: Ray-Ban Meta Smart Glasses
10
+ network:
11
+ type: lora
12
+ linear: 16
13
+ linear_alpha: 16
14
+ save:
15
+ dtype: float16
16
+ save_every: 250
17
+ max_step_saves_to_keep: 4
18
+ datasets:
19
+ - folder_path: C:\Users\Admin\Desktop\martin-tomov-ai\rayban-meta-dataset
20
+ caption_ext: txt
21
+ caption_dropout_rate: 0.05
22
+ shuffle_tokens: false
23
+ cache_latents_to_disk: true
24
+ resolution:
25
+ - 512
26
+ - 768
27
+ - 1024
28
+ train:
29
+ batch_size: 1
30
+ steps: 2000
31
+ gradient_accumulation_steps: 1
32
+ train_unet: true
33
+ train_text_encoder: false
34
+ gradient_checkpointing: true
35
+ noise_scheduler: flowmatch
36
+ optimizer: adamw8bit
37
+ lr: 0.0002
38
+ linear_timesteps: true
39
+ ema_config:
40
+ use_ema: true
41
+ ema_decay: 0.99
42
+ dtype: bf16
43
+ model:
44
+ name_or_path: C:\Users\Admin\Desktop\martin-tomov-ai\flux-train\ai-toolkit\FLUX.1-dev
45
+ is_flux: true
46
+ quantize: true
47
+ sample:
48
+ sampler: flowmatch
49
+ sample_every: 250
50
+ width: 1024
51
+ height: 1024
52
+ prompts:
53
+ - Ray-Ban Meta Smart Glasses, close-up photograph, woman looking up, long blonde
54
+ hair, wearing black-framed glasses, light pink lips, wearing gold earrings,
55
+ navy blue background
56
+ - a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart Glasses,
57
+ sitting at a cafe
58
+ - a a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses,
59
+ smoke machine, lazer lights, holding a martini
60
+ - a man showing off his cool new t shirt at the beach, wearing Ray-Ban Meta
61
+ Smart Glasses, a shark is jumping out of the water in the background
62
+ - a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
63
+ - close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop, holding
64
+ a cup, smiling
65
+ - Ray-Ban Meta Smart Glasses, close-up photograph, wearing black-framed yellow-tinted
66
+ sunglasses, short brown hair, slight smile, clear blue sky with clouds in
67
+ the background.
68
+ - photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium
69
+ shot, modeling clothing, studio lighting, white backdrop
70
+ - a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban
71
+ Meta Smart Glasses
72
+ - Ray-Ban Meta Smart Glasses, close-up of a man adjusting glasses, photograph,
73
+ partial side angle, wearing a green knit beanie and green jacket with visible
74
+ stitching and button, short beard and mustache, silver earring in left ear,
75
+ background features out-of-focus light colors
76
+ neg: ''
77
+ seed: 42
78
+ walk_seed: true
79
+ guidance_scale: 4
80
+ sample_steps: 20
81
+ meta:
82
+ name: rayban-meta-2000-v3
83
+ version: '1.0'
images/1723887557469__000002000_0.jpg ADDED
images/1723887579709__000002000_1.jpg ADDED
images/1723887602007__000002000_2.jpg ADDED
images/1723887624236__000002000_3.jpg ADDED
images/1723887646504__000002000_4.jpg ADDED
images/1723887668772__000002000_5.jpg ADDED
images/1723887691030__000002000_6.jpg ADDED
images/1723887713254__000002000_7.jpg ADDED
images/1723887735556__000002000_8.jpg ADDED
images/1723887757794__000002000_9.jpg ADDED
images/put_images_here ADDED
File without changes
rayban-meta-2000-v3.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b39d91af3370b02dde818b5d06ec2b9ae89ead37589311a9b3058b5a0085993
3
+ size 171969456