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
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