chaojie / ComfyUI-AniPortrait

Apache License 2.0
249 stars 21 forks source link

ComfyUI\models\checkpoints\1.5\unet\config.json does not exist or is not a file #8

Open Datou opened 7 months ago

Datou commented 7 months ago

Error occurred when executing AniPortraitLoader:

C:\ComfyUI\models\checkpoints\1.5\unet\config.json does not exist or is not a file

File "C:\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\custom_nodes\ComfyUI-AniPortrait\nodes.py", line 127, in run denoising_unet = UNet3DConditionModel.from_pretrained_2d( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\custom_nodes\ComfyUI-AniPortrait\src\models\unet_3d.py", line 601, in from_pretrained_2d raise RuntimeError(f"{config_file} does not exist or is not a file")

我下载了这两个文件,请问是下的不对吗? image

smthemex commented 7 months ago

下载后,把unet的前缀去掉

253701 commented 7 months ago

我也是这个问题报错,去掉前缀依然报错

smthemex commented 7 months ago

我也是这个问题报错,去掉前缀依然报错

unet外的index也要下载,还有另一个config,官方页面有详细的文件需求说明,chaojie大佬这里没有转过来,你可以去看看。