Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to run PhotoMaker. #411

Open
Open
@aalok013

Description

@aalok013

I'm unable to run photomaker as it is unable to find input image. I'm using bellow command. And I'm using gguf model as safetensors model of photomaker is giving me another error GGML_ASSERT(ggml_nelements(a) == ggml_nelements(b)) failed

./sd\sd.exe -M txt2img -m ./models/Stable-Diffusion/juggernaut_reborn.safetensors -p "a guy img" --sampling-method euler_a --steps 20 --schedule discrete -W 384 -H 384 -b 1 --cfg-scale 7 -s -1 --clip-skip 1 --embd-dir ./models/Embeddings/ --lora-model-dir ./models/Lora/ -t 0 --rng cuda -o ./output/txt2img/39_photo.png --vae-on-cpu --color --stacked-id-embd-dir ./models/PhotoMaker/photomaker-v1.q8_0.gguf --input-id-images-dir ./mage.jpg --normalize-input

I see the following log in console. And I tried using image without extension as shown in the guide as well. But it's not working either.

[WARN ] stable-diffusion.cpp:1200 - Provided PhotoMaker model file, but NO input ID images
[WARN ] stable-diffusion.cpp:1201 - Turn off PhotoMaker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions