moonlighti

Results issues of moonlighti

[Background] os: Ubuntu 22.04 lts camke version: 3.22.1 [Log] ``` moon@moon-GEM12:~/project/linux-wallpaperengine/build$ cmake .. -- Checking for module 'glut' -- No package 'glut' found -- Found MPV: /usr/lib/x86_64-linux-gnu/libmpv.so, /usr/include -- Found...

#273 ppdiffusers-0.29.0,安装方式为`python setup.py install` 在按照[文档](https://github.com/PaddlePaddle/PaddleMIX/blob/develop/ppdiffusers/examples/stable_diffusion/README.md)对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如下 ![image](https://github.com/user-attachments/assets/046a6fc0-27ad-4ee3-95c9-2fe6158f16e9) 报错如下: ![image](https://github.com/user-attachments/assets/5b48f364-6f32-40c9-9be4-ab95e28069d1) `/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",...

@luyao-cv #806 #273 基础环境:AI Studio V100 32GB 单卡 cuda11.8 conda 环境: python: 3.10.15 paddlepaddle-gpu:2.6.1(官网pip安装) paddlenlp:2.7.2 ppdiffusers:0.24.1 ![image](https://github.com/user-attachments/assets/85f63946-0a08-4e76-9eb8-b3bb65769aa7) 问题:按照stable diffusion [readme.md](https://github.com/PaddlePaddle/PaddleMIX/blob/ppdiffusers0.24.0/ppdiffusers/examples/stable_diffusion/README.md)中在路径 `~/PaddleMIX/ppdiffusers/examples/stable_diffusion` 新建单机单卡训练的脚本。 ![image](https://github.com/user-attachments/assets/658731ac-bb41-42df-990d-d0ae348e1e13) 运行后会出现如下问题:(经测试ppdiffusers 0.24.0~0.29.0均会出现该问题,更低的环境未支持stable diffusion会有其他错) ![017b161ca3f43f75078920f3ccc1e72](https://github.com/user-attachments/assets/674bd892-bab8-4602-8aaf-05c44ad89ede) 经过反复验证,最终确认是无法读取train.sh中的环境变量(我根据源代码尝试将脚本中的0和1替代为true、false依然报错) Readme中提供的单机单卡脚本如下: ![image](https://github.com/user-attachments/assets/9082454e-32e4-4ba7-bb5a-742a8e6389d4)...