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

DownEncoderBlock2D does not exist #43

Open
inozz opened this issue Mar 17, 2024 · 3 comments
Open

DownEncoderBlock2D does not exist #43

inozz opened this issue Mar 17, 2024 · 3 comments

Comments

@inozz
Copy link

inozz commented Mar 17, 2024

Im getting this error

`Error occurred when executing [AnimateAnyone] Load UNet2D ConditionModel:

DownEncoderBlock2D does not exist.

File "/home/Ubuntu/Desktop/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Ubuntu/Desktop/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 "/home/Ubuntu/Desktop/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Ubuntu/Desktop/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-Evolved/nodes.py", line 200, in load_unet2d
unet2d = UNet2DConditionModel.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Ubuntu/miniconda3/envs/comfy/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/home/Ubuntu/miniconda3/envs/comfy/lib/python3.11/site-packages/diffusers/models/modeling_utils.py", line 650, in from_pretrained
model = cls.from_config(config, **unused_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Ubuntu/miniconda3/envs/comfy/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 259, in from_config
model = cls(**init_dict)
^^^^^^^^^^^^^^^^
File "/home/Ubuntu/miniconda3/envs/comfy/lib/python3.11/site-packages/diffusers/configuration_utils.py", line 653, in inner_init
init(self, *args, **init_kwargs)
File "/home/Ubuntu/Desktop/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-Evolved/src/models/unet_2d_condition.py", line 499, in init
down_block = get_down_block(
^^^^^^^^^^^^^^^
File "/home/Ubuntu/Desktop/ComfyUI/custom_nodes/ComfyUI-AnimateAnyone-Evolved/src/models/unet_2d_blocks.py", line 99, in get_down_block
raise ValueError(f"{down_block_type} does not exist.")`

@inozz
Copy link
Author

inozz commented Mar 21, 2024

any ideas how to fix it? 🙏

@Gabbaarrr
Copy link

Did you fix the same?

@DIMSVOL
Copy link

DIMSVOL commented Jun 10, 2024

I've downgraded CUDA to 11.7
And reinstalled torch libs:
pip install torch==2.0.1+cu117 -f https://download.pytorch.org/whl/torch_stable.html torchvision==0.15.2 torchaudio==2.0.2
(Windows OS, Python 3.11)

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