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

TwinConv类报错 #121

Open
555jion opened this issue Jan 7, 2025 · 0 comments
Open

TwinConv类报错 #121

555jion opened this issue Jan 7, 2025 · 0 comments

Comments

@555jion
Copy link

555jion commented Jan 7, 2025

您好,当我pretrained_name=="sketch_to_image_stochastic"时,unet.conv_in=TwinConv(convin_pretrained,unet.conv_in)实例化时,TwinConv的self.r为None,在运行x1*(1-self.r)+x2*(self.r)时报错,unsupported operand type(s)for -:'int' and ['NoneType'](
image
屏幕截图 2025-01-08 010319
)

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

1 participant