shiimizu / ComfyUI-PhotoMaker-Plus

PhotoMaker for ComfyUI
GNU General Public License v3.0
239 stars 21 forks source link

ModelPatcher error #24

Closed supereth closed 4 months ago

supereth commented 9 months ago

I am getting the following error:

Error occurred when executing PhotoMakerAdapter_Loader_local:

'ModelPatcher' object has no attribute 'load_photomaker_adapter'

Full path is properly entered in the pm_model_path and file nale properly set to photomaker-v1.bin

ComfyUI properly updated, all photomaker as well.

Any ideas of what might be causing the problem?

supereth commented 9 months ago

Looks like I was using the wrong node, but now i get a new error msg:

Error occurred when executing PhotoMakerAdapter_Loader_local:

Error(s) in loading state_dict for PhotoMakerIDEncoder: Missing key(s) in state_dict: "vision_model.embeddings.position_ids".

shiimizu commented 9 months ago

This repo does not have that node PhotoMakerAdapter_Loader_local.

supereth commented 9 months ago

I must be mixing then some nodes from the ZHO fork, will try to restart everything using just this repo, thanks for the help!