From 60796158b1921f5cbdbbf289d4562187da43d578 Mon Sep 17 00:00:00 2001 From: bssrdf Date: Tue, 27 Feb 2024 11:38:51 -0500 Subject: [PATCH] add input image requirement in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 844e0086..b2188bd8 100644 --- a/README.md +++ b/README.md @@ -306,8 +306,9 @@ Download PhotoMaker model file (in safetensor format) [here](https://huggingface - Specify the PhotoMaker model path using the `--stacked-id-embd-dir PATH` parameter. - Specify the input images path using the `--input-id-images-dir PATH` parameter. + - input images **must** have the same width and height for preprocessing (to be improved) -In prompt, make sure you have a class word followed by the trigger word ```"img"``` (hard-coded for now). The class word could be one of ```"man, woman, girl, boy"```. If input ID images contain asian faces, add ```Asian``` before the class +In prompt, make sure you have a class word followed by the trigger word ```"img"``` (hard-coded for now). The class word could be one of ```"man, woman, girl, boy"```. If input ID images contain asian faces, add ```Asian``` before the class word. Another PhotoMaker specific parameter: