【求助帖】25.2.21-文生图相关练习-林方老师\Stable Diffusion微调项目微调报错 #587
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#587
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
numpy已重装到1.24.4
报如下numpy错误:可见截图
RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
module 'numpy' has no attribute 'dtypes'
是否其它包版本有问题 ,麻烦老师看一下
最好给到一份完全的微调时的依赖包版本清单requirement.txt
尝试再降低一下numpy版本 pip install numpy==1.23
换了1.23的numpy依然不行尼,同样的错误,如图。
老师这边能不能在你可执行的环境里,导出一份requirement.txt给我对照一下
同样的问题,请老师回答
stable diffusion微调的环境问题,因为jupyter下载依赖默认下载每个依赖的最新版本,不会考虑依赖包之间的兼容,因此需要改成基于pip install -r requirements.txt下载,请大家去百度网盘重新下载FinetuningStableDiffusion.ipynb和requirements.txt,然后再尝试一下