PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
11.73k stars 2.87k forks source link

[Question]: 您好,我在Ai Studio上使用ppdiffusers遇到了一些问题 #5573

Open zhl1bug opened 1 year ago

zhl1bug commented 1 year ago

请提出你的问题

!pip install "paddlenlp>=2.5.2" "ppdiffusers>=0.11.1" safetensors --user

这是baseline:https://aistudio.baidu.com/aistudio/projectdetail/5513258

之前正常能运行,今晚重新跑一遍报错了

Traceback (most recent call last): File "train_dreambooth_lora.py", line 57, in from ppdiffusers.modeling_utils import freeze_params, unwrap_model ModuleNotFoundError: No module named 'ppdiffusers.modeling_utils'

JunnYu commented 1 year ago

可以将这个ppdiffusers.modeling_utils,改成ppdiffusers.training_utils

JunnYu commented 1 year ago

这是由于ppdiffusers更新导致的,目前该项目可以正常使用了

zhl1bug commented 1 year ago

好的,麻烦你了