portu-sim / comfyui_bmab

BMAB for ComfyUI
GNU Affero General Public License v3.0
76 stars 5 forks source link

BMAB KSamplerHiresFixWithUpscaler failed #36

Open jasoncow007 opened 3 weeks ago

jasoncow007 commented 3 weeks ago

Error occurred when executing BMAB KSamplerHiresFixWithUpscaler:

Cannot handle this data type: (1, 1, 3072, 3), |u1

File "D:\ComfyUI-aki-v1.2\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\ComfyUI-aki-v1.2\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "D:\ComfyUI-aki-v1.2\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI-aki-v1.2\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\ComfyUI-aki-v1.2\custom_nodes\comfyui_bmab\bmab\nodes\sampler.py", line 445, in sample pil_images = utils.get_pils_from_pixels(s) File "D:\ComfyUI-aki-v1.2\custom_nodes\comfyui_bmab\bmab\utils__init__.py", line 418, in get_pils_from_pixels img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8)) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\PIL\Image.py", line 3281, in fromarray raise TypeError(msg) from e

portu-sim commented 2 weeks ago

Can you show me the node before KSamplerHiresFixWithUpscaler ?

jasoncow007 commented 2 weeks ago

BMAB Integrator->BMAB ControlNet->BMAB KSampler->BMAB Upscale With Model

portu-sim commented 2 weeks ago

please remove controlnet and check that bmab work or not. checkpoint model and controlnet model should be same version.