-
Notifications
You must be signed in to change notification settings - Fork 133
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
【PaddleMIX 热身打卡】跑通 Stable-Diffusion 训练报错 #806
Comments
|
https://github.com/PaddlePaddle/PaddleMIX/blob/develop/ppdiffusers/requirements.txt 请使用ppdiffusion 0.23.0版本哈~0.29的太高啦 |
没找到0.23.0版本的,切换到了0.24.0上述问题已经解决 |
paddlenlp==v3.0.0-beta0 |
#273
ppdiffusers-0.29.0,安装方式为
python setup.py install
在按照文档对laion400数据集进行训练时运行train.sh脚本后报错
ValueError: Not supported value: 0
,查看对应源码/home/aistudio/.local/lib/python3.10/site-packages/ppdiffusers-0.29.0-py3.10.egg/ppdiffusers/utils/constants.py
后,尝试修改train.sh环境变量值0为false,仍然报错。train.sh如下
报错如下:
/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/_distutils_hack/__init__.py:26: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") Traceback (most recent call last): File "/home/aistudio/PaddleMIX/ppdiffusers/examples/stable_diffusion/train_txt2img_laion400m_trainer.py", line 21, in <module> from sd import ( File "/home/aistudio/PaddleMIX/ppdiffusers/examples/stable_diffusion/sd/__init__.py", line 17, in <module> from .sd_args import SDDataArguments, SDModelArguments, SDTrainingArguments File "/home/aistudio/PaddleMIX/ppdiffusers/examples/stable_diffusion/sd/sd_args.py", line 31, in <module> if str2bool(os.getenv("FLAG_FUSED_LINEAR", "False")): File "/home/aistudio/.local/lib/python3.10/site-packages/ppdiffusers-0.29.0-py3.10.egg/ppdiffusers/utils/constants.py", line 30, in str2bool raise ValueError("Not supported value: {}".format(v)) ValueError: Not supported value: false
The text was updated successfully, but these errors were encountered: