Skip to content
New issue

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

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

Already on GitHub? # to your account

Issue: LivePortrait looking for .pth file instead of .safetensors #140

Open
amirrrr234 opened this issue Sep 21, 2024 · 2 comments
Open

Comments

@amirrrr234
Copy link

Hi,

I'm encountering an issue with LivePortrait in ComfyUI. The system is attempting to load the appearance_feature_extractor.pth file, but I only have the appearance_feature_extractor.safetensors file. I have placed the .safetensors file in the correct directory (ComfyUI\models\liveportrait\base_models), but the script continues to look for the .pth file, resulting in the following error:

[Errno 2] No such file or directory: 'C:\Users\...\ComfyUI\models\liveportrait\base_models\appearance_feature_extractor.pth'

Is there a way to either modify the script to use the .safetensors file or should I be downloading a .pth version of the model? If so, where can I find that?

Any help or guidance would be appreciated!

Thank you!

@kijai
Copy link
Owner

kijai commented Sep 21, 2024

Are you sure you are actually using these nodes? I do not recognize that path in your error. These nodes load .safetensors from just ComfyUI\models\liveportrait

@amirrrr234
Copy link
Author

Yes. I think the package i installed is from another author. Thanks a lot for your response.

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

No branches or pull requests

2 participants