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

tile super resolution issue #62

Open
HanLiii opened this issue Sep 7, 2024 · 2 comments
Open

tile super resolution issue #62

HanLiii opened this issue Sep 7, 2024 · 2 comments

Comments

@HanLiii
Copy link

HanLiii commented Sep 7, 2024

When I try to run controlnet_union_test_tile_super_resolution.py, it occurs following issue:

Traceback (most recent call last):
File "controlnet_union_test_tile_super_resolution.py", line 15, in
from pipeline.pipeline_controlnet_union_sd_xl_img2img import StableDiffusionXLControlNetUnionImg2ImgPipeline
File "/data/hli358/han/ControlNetPlus/promax/../pipeline/pipeline_controlnet_union_sd_xl_img2img.py", line 160, in
class StableDiffusionXLControlNetUnionImg2ImgPipeline(
File "/data/hli358/han/ControlNetPlus/promax/../pipeline/pipeline_controlnet_union_sd_xl_img2img.py", line 239, in StableDiffusionXLControlNetUnionImg2ImgPipeline
controlnet: Union[ControlNetModel, List[ControlNetModel], Tuple[ControlNetModel], MultiControlNetModel],
NameError: name 'ControlNetModel' is not defined

@djcedr
Copy link

djcedr commented Sep 28, 2024

Same here... Did anyone manage to make it work?

@CristianCuadrado
Copy link

You need to add the following line:

from diffusers.models.controlnet import ControlNetModel

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

3 participants