Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Datou opened this issue Mar 29, 2024 · 3 comments

Comments

@Datou
Copy link

Datou commented Mar 29, 2024

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
Copy link

下载后,把unet的前缀去掉

@253701
Copy link

253701 commented Mar 30, 2024

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

@smthemex
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants