Skip to content

Commit

Permalink
Add images to gen_img_README-ja.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kohya-ss authored Apr 30, 2023
1 parent 69475f5 commit 7078e64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gen_img_README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ img2img時にコマンドラインオプションの`--W`と`--H`で生成画像

マスク画像はグレースケール画像で、白の部分がinpaintingされます。境界をグラデーションしておくとなんとなく滑らかになりますのでお勧めです。

![image](https://user-images.githubusercontent.com/52813779/235343795-9eaa6d98-02ff-4f32-b089-80d1fc482453.png)

# その他の機能

## Textual Inversion
Expand Down Expand Up @@ -428,6 +430,8 @@ python gen_img_diffusers.py --ckpt wd-v1-3-full-pruned-half.ckpt

`--vgg16_guidance_layerPで特徴量取得に使用するVGG16のレイヤー番号を指定できます(デフォルトは20でconv4-2のReLUです)。上の層ほど画風を表現し、下の層ほどコンテンツを表現するといわれています。

![image](https://user-images.githubusercontent.com/52813779/235343813-3c1f0d7a-4fb3-4274-98e4-b92d76b551df.png)

# その他のオプション

- `--no_preview` : 対話モードでプレビュー画像を表示しません。OpenCVがインストールされていない場合や、出力されたファイルを直接確認する場合に指定してください。
Expand Down

0 comments on commit 7078e64

Please sign in to comment.