PaddlePaddle / PaddleMIX

Paddle Multimodal Integration and eXploration, supporting mainstream multi-modal tasks, including end-to-end large-scale multi-modal pretrain models and diffusion model toolbox. Equipped with high performance and flexibility.
Apache License 2.0
351 stars 130 forks source link

NameError: name 'method' is not defined #400

Closed co63oc closed 9 months ago

co63oc commented 9 months ago

upgrade_ppdiffusers0240 分支 进入ppdiffusers/deploy/ipadapter/sd15目录运行

python export_model.py --pretrained_model_name_or_path runwayml/stable-diffusion-v1-5 --ipadapter_pretrained_model_name_or_path h94/IP-Adapter --ipadapter_model_subfolder models --ipadapter_weight_name ip-adapter_sd15.safetensors --output_path static_model/stable-diffusion-v1-5-ipadapter

返回错误 NameError: name 'method' is not defined image

paddle, paddlenlp, paddlemix为develop版本

JunnYu commented 9 months ago

你好,这个已经有PR在修了,https://github.com/PaddlePaddle/PaddleMIX/pull/402