ssitu / ComfyUI_UltimateSDUpscale

ComfyUI nodes for the Ultimate Stable Diffusion Upscale script by Coyote-A.
GNU General Public License v3.0
866 stars 58 forks source link

Incompatible with Controlnet Union Promax Tile #97

Open enternalsaga opened 4 months ago

enternalsaga commented 4 months ago

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\ComfyUIUltimateSDUpscale\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])`