prithivMLmods's picture
Update README.md
4eda8ba verified
|
raw
history blame
11.1 kB
metadata
tags:
  - text-to-image
  - lora
  - diffusers
  - template:sd-lora
  - stable diffusion
  - flux
  - realism
  - face
  - diffusion
  - flux-dev
widget:
  - text: >-
      A portrait of an attractive woman in her late twenties with light brown
      hair and purple, wearing large a a yellow sweater. She is looking directly
      at the camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style
      raw
    output:
      url: images/11.png
  - text: >-
      Headshot of handsome young man, wearing dark gray sweater with buttons and
      big shawl collar, brown hair and short beard, serious look on his face,
      black background, soft studio lighting, portrait photography --ar 85:128
      --v 6.0 --style rawHeadshot of handsome young man, wearing dark gray
      sweater with buttons and big shawl collar, brown hair and short beard,
      serious look on his face, black background, soft studio lighting, portrait
      photography --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man,
      wearing dark gray sweater with buttons and big shawl collar, brown hair
      and short beard, serious look on his face, black background, soft studio
      lighting, portrait photography --ar 85:128 --v 6.0 --style raw
    output:
      url: images/22.png
  - text: >-
      A photo of the model wearing a white bodysuit and beige trench coat,
      posing in front of a train station with hands on head, soft light, sunset,
      fashion photography, high resolution, 35mm lens, f/22, natural lighting,
      global illumination. --ar 85:128 --v 6.0 --style raw
    output:
      url: images/66.png
  - text: >-
      An image of a woman with fair skin and natural, wavy hair styled in soft
      curls around her face. She has defined eyebrows and light-colored eyes
      that draw attention. She dressed in a red and navy plaid shirt with the
      top unbuttoned to show a white undershirt, and the sleeves rolled up to
      the forearms. The woman is casually leaning against a weathered blue door
      frame with peeling paint, adding a rustic charm to the scene. Her arms are
      crossed or resting in front of her, and she has a soft, contemplative
      expression on her face.
    output:
      url: images/44.png
  - text: >-
      A black and white photo of a woman with shadow., in the style of
      minimalist beauty, light bronze and bronze, serene faces, sharp edges,
      karencore, high definition, contrast shading, realism --ar 3:5 --stylize
      750 --v 6.0 --style rawA black and white photo of a woman with shadow., in
      the style of minimalist beauty, light bronze and bronze, serene faces,
      sharp edges, karencore, high definition, contrast shading, realism --ar
      3:5 --stylize 750 --v 6.0 --style raw
    output:
      url: images/5.webp
  - text: >-
      Photograph, face, young man professional model, minimalist, stylish nessy
      long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L
      lens, solid white environment, studio lights setting, ultra-realistic, 32K
      UHD --ar 9:16 --style raw --stylize 700Photograph, face, young man
      professional model, minimalist, stylish nessy long hairstyle, beard,
      profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white
      environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16
      --style raw --stylize 700
    output:
      url: images/33.png
base_model: black-forest-labs/FLUX.1-schnell
instance_prompt: face, realism, face realism
license: creativeml-openrail-m

Canopus-LoRA-Flux-FaceRealism

Prompt
A portrait of an attractive woman in her late twenties with light brown hair and purple, wearing large a a yellow sweater. She is looking directly at the camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw
Prompt
Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style raw
Prompt
A photo of the model wearing a white bodysuit and beige trench coat, posing in front of a train station with hands on head, soft light, sunset, fashion photography, high resolution, 35mm lens, f/22, natural lighting, global illumination. --ar 85:128 --v 6.0 --style raw
Prompt
An image of a woman with fair skin and natural, wavy hair styled in soft curls around her face. She has defined eyebrows and light-colored eyes that draw attention. She dressed in a red and navy plaid shirt with the top unbuttoned to show a white undershirt, and the sleeves rolled up to the forearms. The woman is casually leaning against a weathered blue door frame with peeling paint, adding a rustic charm to the scene. Her arms are crossed or resting in front of her, and she has a soft, contemplative expression on her face.
Prompt
A black and white photo of a woman with shadow., in the style of minimalist beauty, light bronze and bronze, serene faces, sharp edges, karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style rawA black and white photo of a woman with shadow., in the style of minimalist beauty, light bronze and bronze, serene faces, sharp edges, karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style raw
Prompt
Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700

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/Canopus-LoRA-Flux-FaceRealism

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 30 & 3.1K+
Epoch 20 Save Every N Epochs 1
Labeling: florence2-en(natural language & English)

Total Images Used for Training : 200+ [ Hi-RES ] 

๐Ÿš€New Version Available Here๐Ÿš€

Here's a table summarizing the relevant information about the Flux-Super-Realism-LoRA model on Hugging Face:

Feature Details
Model Name Flux-Super-Realism-LoRA
Repository strangerzonehf/Flux-Super-Realism-LoRA
Author strangerzonehf
Description Super-realism LoRA model designed to produce high-quality, hyper-realistic images using LoRA fine-tuning techniques. This model can generate lifelike textures, lighting, and intricate details.
Model Type LoRA (Low-Rank Adaptation for Transformers)
Use Cases - Photorealistic image generation
- High-fidelity art
- Texture detailing and enhancement
Primary Language Not applicable (model is image-based)
Base Model Model used as the foundation for LoRA fine-tuning (may vary per implementation)
License Refer to Hugging Face model page for specific licensing information.
Tags super-realism, LoRA, high-fidelity, hyper-realistic
Usage This model is typically used with tools like Hugging Face's Diffusers or other libraries supporting LoRA fine-tuning for enhanced realism in image generation.
Pipeline Use in StableDiffusionPipeline or compatible image generation pipelines.

Image Compare DLC.

prithivMLmods/Canopus-LoRA-Flux-FaceRealism


Image Description
Image 1 Portrait of an attractive woman: Late twenties, light brown hair, wearing a yellow sweater, looking directly at the camera. Standing outdoors near trees. Aspect ratio: 128:85. Style: Raw
Image 2 Headshot of a handsome young man: Dark gray sweater with buttons and shawl collar, brown hair, short beard. Serious expression on a black background, soft studio lighting. Aspect ratio: 85:128. Style: Raw
Image 3 Fashion photo: Model in a white bodysuit and beige trench coat, posing with hands on head in front of a train station at sunset. High resolution, 35mm lens, f/22, natural lighting. Aspect ratio: 85:128. Style: Raw
Image 4 Rustic portrait: Woman with fair skin and natural, wavy hair in soft curls. Wearing a red and navy plaid shirt with a white undershirt, sleeves rolled up. Leaning against a weathered blue door frame with a contemplative expression.

Trigger prompts

  A portrait of an attractive woman in her late twenties with light brown hair and purple, wearing large a a yellow sweater. She is looking directly at the camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw

  
  Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style raw
  
  
  A photo of the model wearing a white bodysuit and beige trench coat, posing in front of a train station with hands on head, soft light, sunset, fashion photography, high resolution, 35mm lens, f/22, natural lighting, global illumination. --ar 85:128 --v 6.0 --style raw
  
  
  An image of a woman with fair skin and natural, wavy hair styled in soft curls around her face. She has defined eyebrows and light-colored eyes that draw attention. She's dressed in a red and navy plaid shirt with the top unbuttoned to show a white undershirt, and the sleeves rolled up to the forearms. The woman is casually leaning against a weathered blue door frame with peeling paint, adding a rustic charm to the scene. Her arms are crossed or resting in front of her, and she has a soft, contemplative expression on her face.
  
  
  A black and white photo of a woman with shadow., in the style of minimalist beauty, light bronze and bronze, serene faces, sharp edges, karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style raw
  
  
  Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700
Parameter Value
Prompt Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700
Sampler euler

Trigger words ๐Ÿ’ฅ

You should use face to trigger the image generation.

You should use realism to trigger the image generation.

You should use face realism to trigger the image generation.

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/Canopus-LoRA-Flux-FaceRealism"
trigger_word = "Realism"  # 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

Warning: Do not use a negative prompt as it can lead to the generation of images with artifacts and distortions.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

.

.

๐Ÿค—: https://hf.co/prithivmlmods