🚀 Canopus-LoRA-Flux-FaceRealism
このモデルは、Fluxをベースにした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)
モデルのダウンロード
このモデルの重みはSafetensors形式で利用可能です。こちらから「Files & versions」タブでダウンロードできます。
- 🪄アニメ用モデル: https://huggingface.co/prithivMLmods/Canopus-Anime-Art-Flux-LoRA
🤗: https://hf.co/prithivmlmods
✨ 主な機能
- 高いリアリズム: 顔の描写を非常にリアルに再現することができます。
- 多様な画像生成: 様々なトリガープロンプトを使用して、異なるスタイルの画像を生成できます。
📦 インストール
上記のセットアップコードを実行することで、必要なライブラリをインストールし、モデルをロードすることができます。
💻 使用例
基本的な使用法
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"
image = pipe(prompt).images[0]
image.show()
📚 ドキュメント
モデルの説明
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 |
作者 |
strangerzonehf |
説明 |
LoRA微調整技術を使用して、高品質で超リアルな画像を生成するように設計された超リアリズムLoRAモデル。リアルなテクスチャ、照明、複雑な詳細を生成できます。 |
モデルタイプ |
LoRA (Transformersの低ランク適応) |
使用例 |
- 写真のようにリアルな画像生成 - 高忠実度のアート - テクスチャの詳細化と強化 |
主要言語 |
該当なし (モデルは画像ベース) |
ベースモデル |
LoRA微調整の基礎として使用されるモデル (実装により異なる場合があります) |
ライセンス |
具体的なライセンス情報については、Hugging Faceのモデルページを参照してください。 |
タグ |
super-realism, LoRA, high-fidelity, hyper-realistic |
使用方法 |
このモデルは通常、Hugging FaceのDiffusers やLoRA微調整をサポートする他のライブラリとともに使用され、画像生成のリアリズムを向上させます。 |
パイプライン |
StableDiffusionPipeline または互換性のある画像生成パイプラインで使用します。 |
画像比較DLC

画像 |
説明 |
画像1 |
魅力的な女性のポートレート: 20代後半、薄茶色の髪、黄色のセーターを着て、カメラを見つめています。木の近くの屋外に立っています。アスペクト比: 128:85。スタイル: Raw |
画像2 |
ハンサムな若い男性のヘッドショット: ボタン付きの大きなショールカラーのダークグレーのセーターを着て、茶色の髪、短い髭。黒い背景の中で真剣な表情を持ち、柔らかいスタジオ照明が当たっています。アスペクト比: 85:128。スタイル: Raw |
画像3 |
ファッション写真: 白いボディースーツとベージュのトレンチコートを着たモデルが、夕日の中で駅前で手を頭に載せてポーズをとっています。高解像度、35mmレンズ、f/22、自然照明。アスペクト比: 85:128。スタイル: Raw |
画像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
パラメータ |
値 |
プロンプト |
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 |
サンプラー |
euler |
トリガーワード 💥
画像生成をトリガーするには、以下のワードを使用してください。
face
realism
face realism
アプリのファイル構造
/project-root/
├── .gitattributes
├── README.md
├── app.py
├── pythonproject.py
ダウンロード
このモデルの重みはSafetensors形式で利用可能です。こちらから「Files & versions」タブでダウンロードできます。
🔧 技術詳細
このモデルは、black-forest-labs/FLUX.1-dev
をベースモデルとして使用し、LoRA微調整技術を用いて学習されています。トレーニングには200枚以上の高解像度画像が使用され、特定のパラメータ設定により、顔のリアリズムを向上させるように最適化されています。
📄 ライセンス
このモデルはcreativeml-openrail-m
ライセンスの下で提供されています。
⚠️ 重要提示
ネガティブプロンプトを使用しないでください。これはアーティファクトや歪みのある画像の生成につながる可能性があります。