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

PATH error that I can't solve #16

Open
ShmuelRonen opened this issue Apr 1, 2024 · 7 comments
Open

PATH error that I can't solve #16

ShmuelRonen opened this issue Apr 1, 2024 · 7 comments

Comments

@ShmuelRonen
Copy link

Hello and thank-you for the project!

What I do wrong?

E:\ComfyUI_4ALL>call conda activate comfyui

(comfyui) E:\ComfyUI_4ALL>python ComfyUI\main.py --windows-standalone-build
** ComfyUI startup time: 2024-04-01 08:36:10.943530
** Platform: Windows
** Python version: 3.11.8 | packaged by Anaconda, Inc. | (main, Feb 26 2024, 21:34:05) [MSC v.1916 64 bit (AMD64)]
** Python executable: C:\Users\derec\anaconda3\envs\comfyui\python.exe
** Log path: E:\ComfyUI_4ALL\comfyui.log

E:\ComfyUI_4ALL\ComfyUI\models\diffusers\ZJYang\AniPortrait\pose_guider.pth
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\stable-diffusion-v1-5
E:\ComfyUI_4ALL\ComfyU\models\diffusers\sd-vae-ft-mse
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\facebook\wav2vec2-base-960h
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\sd-image-variations-diffusers\image_encoder
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\ZJYang\AniPortrait\audio2mesh.pt
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\ZJYang\AniPortrait\motion_module.pth
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\ZJYang\AniPortrait\denoising_unet.pth
E:\ComfyUI_4ALL\ComfyUI\models\diffusers\ZJYang\AniPortrait\reference_unet.pth


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "E:\ComfyUI_4ALL\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_4ALL\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 "E:\ComfyUI_4ALL\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_4ALL\ComfyUI\custom_nodes\ComfyUI-AniPortrait\nodes.py", line 112, in run
a2m_model = Audio2MeshModel(audio_infer_config['a2m_model'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_4ALL\ComfyUI\custom_nodes\ComfyUI-AniPortrait\src\audio_models\model.py", line 25, in init
self.audio_encoder_config = Wav2Vec2Config.from_pretrained(model_path, local_files_only=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derec\anaconda3\envs\comfyui\Lib\site-packages\transformers\configuration_utils.py", line 602, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derec\anaconda3\envs\comfyui\Lib\site-packages\transformers\configuration_utils.py", line 631, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\derec\anaconda3\envs\comfyui\Lib\site-packages\transformers\configuration_utils.py", line 686, in _get_config_dict
resolved_config_file = cached_file(
^^^^^^^^^^^^
File "C:\Users\derec\anaconda3\envs\comfyui\Lib\site-packages\transformers\utils\hub.py", line 462, in cached_file
raise EnvironmentError(
OSError: Incorrect path_or_model_id: '\ComfyUI_4ALL\ComfyUI\models\diffusers\facebook\wav2vec2-base-960h'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

Prompt executed in 0.18 seconds

@RYG81
Copy link

RYG81 commented Apr 3, 2024

Have same issue, can you please mae kit select file option just like check point

@Pythonpa
Copy link

Pythonpa commented Apr 3, 2024

The same question,

@eldragon0
Copy link

I can say for sure, it works on windows.

@Aljnk
Copy link

Aljnk commented Apr 17, 2024

change it here too
image

@DoItEric
Copy link

@Aljnk U SOOOOOOOOOOO GOOD

@invincibledinku
Copy link

still get the error, any fix to this?

@ShmuelRonen
Copy link
Author

still get the error, any fix to this?

I use this instead and it's working:

https://github.com/frankchieng/ComfyUI_Aniportrait

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

7 participants