ZHO-ZHO-ZHO / ComfyUI-PhotoMaker-ZHO

Unofficial implementation of PhotoMaker for ComfyUI
GNU General Public License v3.0
789 stars 41 forks source link

PhotoMakerAdapter loader local error message #36

Open ARMISHI opened 10 months ago

ARMISHI commented 10 months ago

PhotoMakerAdapter loader local error message, which folder should photomaker-v1.bing be placed in?

Error occurred when executing PhotoMakerAdapter_Loader_local:

model is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with token or log in with huggingface-cli login.

File "D:\ComfyUI2311\ComfyUI\execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\ComfyUI\execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\ComfyUI\execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\ComfyUI\custom_nodes\ComfyUI-PhotoMaker\PhotoMakerNode.py", line 151, in load_photomaker_adapter pipe.load_photomaker_adapter( File "D:\ComfyUI2311\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\ComfyUI\custom_nodes\ComfyUI-PhotoMaker\pipeline.py", line 80, in load_photomaker_adapter model_file = _get_model_file( ^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI2311\python_embeded\Lib\site-packages\diffusers\utils\hub_utils.py", line 324, in _get_model_file raise EnvironmentError(

udappk commented 10 months ago

https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/issues/46#issuecomment-1903383914

Hello, checkout this comment for a solution which should work.. Thanks!