Canopus LoRA Flux FaceRealism
基於Flux風格和LoRA技術的超寫實面部生成模型,專注於高保真肖像和時尚攝影
下載量 2,066
發布時間 : 8/29/2024
模型概述
採用LoRA微調技術的超寫實模型,可生成具有逼真紋理、光影和精細細節的高質量面部圖像。特別適合肖像攝影和時尚攝影場景。
模型特點
超寫實面部細節
能夠生成具有精細紋理和逼真光影的面部特徵
Flux風格融合
結合Flux風格的寫實主義表現手法
LoRA微調技術
採用低秩適應技術對基礎模型進行高效微調
多場景適應
支持戶外、影棚等多種拍攝場景的肖像生成
模型能力
高保真面部生成
時尚攝影模擬
肖像風格轉換
光影效果控制
多比例圖像輸出
使用案例
時尚攝影
模特肖像
生成具有專業影棚燈光效果的模特肖像
如圖2所示的英俊男模半身像
戶外時尚攝影
模擬戶外環境下的時尚拍攝效果
如圖1所示的樹林背景女性肖像
創意藝術
風格化肖像
生成具有特定藝術風格的肖像作品
如圖5所示的女性剪影黑白照片
🚀 Canopus-LoRA-Flux-FaceRealism
Canopus-LoRA-Flux-FaceRealism 是一款圖像生成模型,藉助 LoRA 微調技術,專注於生成逼真的面部圖像,能在多種場景下輸出高質量的圖像效果。
🚀 快速開始
代碼示例
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" # 若不使用觸發詞,可留空。
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
✨ 主要特性
- 高逼真度:能夠生成極其逼真的面部圖像,還原細膩的紋理和真實的光影效果。
- 多場景適用:可用於生成不同風格和場景的圖像,如時尚攝影、人像寫真等。
- 易於使用:通過簡單的觸發詞即可觸發圖像生成。
📦 安裝指南
暫未提及具體安裝步驟,可參考代碼示例中的導入和加載操作。
💻 使用示例
基礎用法
# 上述快速開始中的代碼示例即為基礎用法
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" # 若不使用觸發詞,可留空。
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
高級用法
可根據不同的觸發提示詞生成不同風格的圖像,例如:
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
📚 詳細文檔
模型描述
prithivMLmods/Canopus-LoRA-Flux-FaceRealism
圖像處理參數
參數 | 值 | 參數 | 值 |
---|---|---|---|
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 |
標註信息
標註:florence2 - en(自然語言 & 英語)
訓練數據
總共使用 200 + [高分辨率] 圖像進行訓練。
新版本信息
這裡有一個表格總結了 Hugging Face 上 Flux - Super - Realism - LoRA
模型的相關信息:
特性 | 詳情 |
---|---|
模型名稱 | Flux - Super - Realism - LoRA |
倉庫地址 | [strangerzonehf/Flux - Super - Realism - LoRA](https://huggingface.co/strangerzonehf/Flux - Super - Realism - LoRA) |
作者 | strangerzonehf |
描述 | 超逼真 LoRA 模型,旨在使用 LoRA 微調技術生成高質量、超逼真的圖像。該模型可以生成逼真的紋理、光影和複雜的細節。 |
模型類型 | LoRA(Transformer 的低秩自適應) |
用例 | - 逼真圖像生成 - 高保真藝術創作 - 紋理細節處理和增強 |
主要語言 | 不適用(基於圖像的模型) |
基礎模型 | 用於 LoRA 微調的基礎模型(可能因實現而異) |
許可證 | 請參考 Hugging Face 模型頁面獲取具體的許可信息。 |
標籤 | 超逼真、LoRA、高保真、超現實 |
使用方法 | 該模型通常與 Hugging Face 的 Diffusers 或其他支持 LoRA 微調的庫一起使用,以增強圖像生成的逼真度。 |
管道 | 在 StableDiffusionPipeline 或兼容的圖像生成管道中使用。 |
圖像對比 DLC
圖像 | 描述 |
---|---|
圖像 1 | 一位有吸引力的女性肖像:二十多歲晚期,淺棕色頭髮,穿著黃色毛衣,直視鏡頭,站在戶外樹木附近。寬高比:128:85。風格:原始 |
圖像 2 | 一位英俊年輕男子的特寫:穿著帶紐扣和大披肩領的深灰色毛衣,棕色頭髮,短鬍鬚,黑色背景下表情嚴肅,柔和的攝影棚燈光。寬高比:85:128。風格:原始 |
圖像 3 | 時尚照片:模特穿著白色緊身衣和米色風衣,在日落時雙手放在頭上,在火車站前擺姿勢。高分辨率,35mm 鏡頭,f/22,自然光線。寬高比:85:128。風格:原始 |
圖像 4 | 鄉村肖像:皮膚白皙、自然波浪捲髮的女性。穿著紅色和海軍藍格子襯衫,裡面是白色內衣,袖子捲到前臂。隨意地靠在有剝落油漆的破舊藍色門框上,表情沉思。 |
觸發提示
以下是一些觸發提示示例:
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
觸發參數
參數 | 值 |
---|---|
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 |
觸發詞
你可以使用以下觸發詞來觸發圖像生成:
face
realism
face realism
應用文件結構
/project-root/
├── .gitattributes
├── README.md
├── app.py
├── pythonproject.py
下載模型
該模型的權重以 Safetensors 格式提供。 點擊下載,在 Files & versions 標籤中獲取。
- 🪄 動漫模型:https://huggingface.co/prithivMLmods/Canopus-Anime-Art-Flux-LoRA
🤗 更多信息:https://hf.co/prithivmlmods
🔧 技術細節
暫未提供足夠詳細的技術實現細節。
📄 許可證
該模型使用 creativeml - openrail - m
許可證。
⚠️ 重要提示
請勿使用負提示詞,因為這可能會導致生成的圖像出現偽影和扭曲。
Stable Diffusion V1 5
Openrail
穩定擴散是一種潛在的文本到圖像擴散模型,能夠根據任何文本輸入生成逼真的圖像。
圖像生成
S
stable-diffusion-v1-5
3.7M
518
Stable Diffusion Inpainting
Openrail
基於穩定擴散的文本到圖像生成模型,具備圖像修復能力
圖像生成
S
stable-diffusion-v1-5
3.3M
56
Stable Diffusion Xl Base 1.0
SDXL 1.0是基於擴散的文本生成圖像模型,採用專家集成的潛在擴散流程,支持高分辨率圖像生成
圖像生成
S
stabilityai
2.4M
6,545
Stable Diffusion V1 4
Openrail
穩定擴散是一種潛在文本到圖像擴散模型,能夠根據任意文本輸入生成逼真圖像。
圖像生成
S
CompVis
1.7M
6,778
Stable Diffusion Xl Refiner 1.0
SD-XL 1.0優化器模型是Stability AI開發的圖像生成模型,專為提升SDXL基礎模型生成的圖像質量而設計,特別擅長最終去噪步驟處理。
圖像生成
S
stabilityai
1.1M
1,882
Stable Diffusion 2 1
基於擴散的文本生成圖像模型,支持通過文本提示生成和修改圖像
圖像生成
S
stabilityai
948.75k
3,966
Stable Diffusion Xl 1.0 Inpainting 0.1
基於Stable Diffusion XL的潛在文本到圖像擴散模型,具備通過遮罩進行圖像修復的功能
圖像生成
S
diffusers
673.14k
334
Stable Diffusion 2 Base
基於擴散的文生圖模型,可根據文本提示生成高質量圖像
圖像生成
S
stabilityai
613.60k
349
Playground V2.5 1024px Aesthetic
其他
開源文生圖模型,能生成1024x1024分辨率及多種縱橫比的美學圖像,在美學質量上處於開源領域領先地位。
圖像生成
P
playgroundai
554.94k
723
Sd Turbo
SD-Turbo是一款高速文本生成圖像模型,僅需單次網絡推理即可根據文本提示生成逼真圖像。該模型作為研究原型發佈,旨在探索小型蒸餾文本生成圖像模型。
圖像生成
S
stabilityai
502.82k
380
精選推薦AI模型
Llama 3 Typhoon V1.5x 8b Instruct
專為泰語設計的80億參數指令模型,性能媲美GPT-3.5-turbo,優化了應用場景、檢索增強生成、受限生成和推理任務
大型語言模型
Transformers 支持多種語言

L
scb10x
3,269
16
Cadet Tiny
Openrail
Cadet-Tiny是一個基於SODA數據集訓練的超小型對話模型,專為邊緣設備推理設計,體積僅為Cosmo-3B模型的2%左右。
對話系統
Transformers 英語

C
ToddGoldfarb
2,691
6
Roberta Base Chinese Extractive Qa
基於RoBERTa架構的中文抽取式問答模型,適用於從給定文本中提取答案的任務。
問答系統 中文
R
uer
2,694
98