Skip to content
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

support for diffusers #53

Open
pandayummy opened this issue Jul 27, 2024 · 1 comment
Open

support for diffusers #53

pandayummy opened this issue Jul 27, 2024 · 1 comment

Comments

@pandayummy
Copy link

https://pypi.org/project/diffusers/

Pls update the code to support latest version of diffusers

@nofile
Copy link

nofile commented Sep 10, 2024

try making the following changes in pipelines_ootd folder:

  1. In transformer_garm_2d.py and transformer_vton_2d.py, replace "CaptionProjection" with "PixArtAlphaTextProjection".
  2. In unet_garm_2d_blocks.py and unet_vton_2d_blocks.py, update the import statement from: "from diffusers.models.dual_transformer_2d import DualTransformer2DModel" to "from diffusers.models.transformers.dual_transformer_2d import DualTransformer2DModel".
  3. In unet_garm_2d_condition.py and unet_vton_2d_condition.py, replace "PositionNet" with "GLIGENTextBoundingboxProjection".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants