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

Incompatible with Controlnet Union Promax Tile #97

Open
enternalsaga opened this issue Jul 23, 2024 · 0 comments
Open

Incompatible with Controlnet Union Promax Tile #97

enternalsaga opened this issue Jul 23, 2024 · 0 comments

Comments

@enternalsaga
Copy link

Hi, i tried using CN Tile Union with USUD but somehow it didnot work like traditional tile CN model. Not sure if this was bcoz of your node or Union model, any thought? image

`Error occurred when executing UltimateSDUpscale:

'PlusPlusInputGroup' object has no attribute 'shape'

File "I:\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "I:\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "I:\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func
res_value = old_func(*final_args, **kwargs)
File "I:\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\nodes.py", line 151, in upscale
processed = script.run(p=self.sdprocessing, _=None, tile_width=self.tile_width, tile_height=self.tile_height,
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\repositories\ultimate_sd_upscale\scripts\ultimate-upscale.py", line 565, in run
upscaler.process()
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\repositories\ultimate_sd_upscale\scripts\ultimate-upscale.py", line 138, in process
self.image = self.redraw.start(self.p, self.image, self.rows, self.cols)
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\repositories\ultimate_sd_upscale\scripts\ultimate-upscale.py", line 245, in start
return self.linear_process(p, image, rows, cols)
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\repositories\ultimate_sd_upscale\scripts\ultimate-upscale.py", line 180, in linear_process
processed = processing.process_images(p)
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\modules\processing.py", line 165, in process_images
positive_cropped = crop_cond(p.positive, crop_region, p.init_size, init_image.size, tile_size)
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\utils.py", line 455, in crop_cond
crop_controlnet(cond_dict, region, init_size, canvas_size, tile_size, w_pad, h_pad)
File "I:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale\utils.py", line 311, in crop_controlnet
resized_crop = resize_region(region, canvas_size, hint.shape[:-3:-1])`

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