Text-to-Image
Diffusers
lora
flux
cape
martintomov's picture
not WIP
3396094 verified
metadata
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

Trigger words

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

Prompt
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
Negative Prompt
empty
Prompt
a woman holding a coffee cup, in a beanie, wearing Ray-Ban Meta Smart Glasses, sitting at a cafe
Negative Prompt
empty
Prompt
a DJ at a night club, fish eye lens, wearing Ray-Ban Meta Smart Glasses, smoke machine, lazer lights, holding a martini
Negative Prompt
empty
Prompt
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
Negative Prompt
empty
Prompt
a man wearing Ray-Ban Meta Smart Glasses, in snow covered mountains
Negative Prompt
empty
Prompt
close up of a man, wearing Ray-Ban Meta Smart Glasses, in a coffee shop, holding a cup, smiling
Negative Prompt
empty
Prompt
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
Negative Prompt
empty
Prompt
photo of a man, wearing Ray-Ban Meta Smart Glasses, white background, medium shot, modeling clothing, studio lighting, white backdrop
Negative Prompt
empty
Prompt
a man holding a sign that says, 'Do these glasses fit me?', wearing Ray-Ban Meta Smart Glasses
Negative Prompt
empty
Prompt
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
Negative Prompt
empty

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'
}