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

关于训练 #44

Open
1151368613 opened this issue Jan 18, 2025 · 7 comments
Open

关于训练 #44

1151368613 opened this issue Jan 18, 2025 · 7 comments

Comments

@1151368613
Copy link

非常感谢您的工作
我在训练时,报这个错,不知道怎么处理,希望您可以解答,非常感谢
ImportError: cannot import name 'DDUFEntry' from 'huggingface_hub' (/home/naie/miniconda3/envs/consisid/lib/python3.11/site-packages/huggingface_hub/init.py)

@SHYuanBest
Copy link
Member

感谢关注!我们刚刚更新了diffusers的版本,你或许需要运行这个pip install huggingface_hub==0.27.1,问题应该能解决。

@1151368613
Copy link
Author

谢谢您的回答,我刚才又试了一下,发现还是同样的问题,很奇怪。

@SHYuanBest
Copy link
Member

SHYuanBest commented Jan 18, 2025

试试pip uninstall diffuserspip uninstall huggingface_hub,然后重新安装pip install git+https://github.com/huggingface/diffusers.git+pip install huggingface_hub

@SHYuanBest
Copy link
Member

我这边是可以正常导入所有库的
Image
Image

@1151368613
Copy link
Author

感谢您的回答,现在又变成了这个问题(哭泣)
ImportError: cannot import name 'ConsisIDLoraLoaderMixin' from 'diffusers.loaders' (/home/naie/miniconda3/envs/consisid/lib/python3.11/site-packages/diffusers-0.33.0.dev0-py3.11.egg/diffusers/loaders/init.py)

@SHYuanBest
Copy link
Member

我刚刚更新了代码和环境,你同步更新下再试试,感谢

@1151368613
Copy link
Author

非常感谢,目前可以正常运行了,谢谢您

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

2 participants