StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Node execution error when generating images using comfyui

Open Fortress937 opened this issue 1 year ago • 0 comments

Here is where the error from node execution says.

{ "prompt_id": "55067ac6-2b2e-4804-b84c-739692476fe2", "node_id": "Sampler", "node_type": "KSampler", "executed": [ "CheckpointLoader_Base", "NegativeCLIP_Base", "PositiveCLIP_Base", "EmptyLatentImage" ], "exception_message": "Numpy is not available", "exception_type": "RuntimeError", "traceback": [ " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py\u0022, line 152, in recursive_execute\n output_data, output_ui = get_output_data(obj, input_data_all)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py\u0022, line 82, in get_output_data\n return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py\u0022, line 75, in map_node_over_list\n results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\nodes.py\u0022, line 1382, in sample\n return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\nodes.py\u0022, line 1352, in common_ksampler\n samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\sample.py\u0022, line 43, in sample\n samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 829, in sample\n return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 729, in sample\n return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 716, in sample\n output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 695, in inner_sample\n samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 600, in sample\n samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\torch\utils\_contextlib.py\u0022, line 115, in decorate_context\n return func(*args, **kwargs)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\k_diffusion\sampling.py\u0022, line 561, in sample_dpmpp_sde\n callback({\u0027x\u0027: x, \u0027i\u0027: i, \u0027sigma\u0027: sigmas[i], \u0027sigma_hat\u0027: sigmas[i], \u0027denoised\u0027: denoised})\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\samplers.py\u0022, line 598, in \u003Clambda\u003E\n k_callback = lambda x: callback(x[\u0022i\u0022], x[\u0022denoised\u0022], x[\u0022x\u0022], total_steps)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\latent_preview.py\u0022, line 91, in callback\n preview_bytes = previewer.decode_latent_to_preview_image(preview_format, x0)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\latent_preview.py\u0022, line 26, in decode_latent_to_preview_image\n preview_image = self.decode_latent_to_preview(x0)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\latent_preview.py\u0022, line 45, in decode_latent_to_preview\n return preview_to_image(latent_image)\n", " File \u0022C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\latent_preview.py\u0022, line 19, in preview_to_image\n return Image.fromarray(latents_ubyte.numpy())\n" ], "current_inputs": { "model": [ "\u003Ccomfy.model_patcher.ModelPatcher object at 0x000001A566D061D0\u003E" ], "seed": [ 1930291789 ], "steps": [ 20 ], "cfg": [ 7.0 ], "sampler_name": [ "dpmpp_sde" ], "scheduler": [ "normal" ], "positive": [ "[[tensor([[[-0.8281, -0.8998, -0.2492, ..., -0.3884, -0.2971, -0.0850],\n [-0.1595, 0.0656, -0.2976, ..., 0.2803, 0.1379, 0.0303],\n [-0.4641, -0.4062, -0.1793, ..., 0.4001, -0.2232, 0.2853],\n ...,\n [ 0.1108, 0.0131, -0.0738, ..., 1.0407, 0.0248, 0.2574],\n [ 0.1295, -0.0016, -0.0955, ..., 0.2275, -0.4421, 0.2312],\n [ 0.0677, 0.0757, -0.0438, ..., 1.0910, -0.0415, 0.2614]]]), {\u0027pooled_output\u0027: tensor([[ 0.1816, 0.1668, -0.0162, ..., -0.0837, -0.0519, -0.0119]])}]]" ], "negative": [ "[[tensor([[[-8.2814e-01, -8.9976e-01, -2.4925e-01, ..., -3.8840e-01,\n -2.9705e-01, -8.5038e-02],\n [-1.4006e-02, -5.4712e-02, -1.8800e-01, ..., 9.8289e-02,\n 3.3537e-02, -4.6822e-02],\n [ 1.4914e-03, -4.9538e-02, 7.5683e-02, ..., 1.6066e-01,\n 5.9424e-02, -3.8710e-01],\n ...,\n [ 1.2805e-01, 1.5386e-02, -7.4367e-02, ..., 1.1515e\u002B00,\n 3.8561e-02, 3.0370e-01],\n [ 1.4866e-01, 3.1534e-04, -9.8461e-02, ..., 2.7417e-01,\n -4.0273e-01, 2.8136e-01],\n [ 7.7070e-02, 8.0774e-02, -4.3993e-02, ..., 1.1467e\u002B00,\n -3.1457e-02, 3.1949e-01]]]), {\u0027pooled_output\u0027: tensor([[ 0.1843, 0.2113, 0.0099, ..., -0.0744, -0.0775, -0.0063]])}]]" ], "latent_image": [ "{\u0027samples\u0027: tensor([[[[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]]]])}" ], "denoise": [ 1.0 ] }, "current_outputs": { "CheckpointLoader_Base": [ [ "\u003Ccomfy.model_patcher.ModelPatcher object at 0x000001A566D061D0\u003E" ], [ "\u003Ccomfy.sd.CLIP object at 0x000001A565C32EC0\u003E" ], [ "\u003Ccomfy.sd.VAE object at 0x000001A4647E96F0\u003E" ] ], "PositiveCLIP_Base": [ [ "[[tensor([[[-0.8281, -0.8998, -0.2492, ..., -0.3884, -0.2971, -0.0850],\n [-0.1595, 0.0656, -0.2976, ..., 0.2803, 0.1379, 0.0303],\n [-0.4641, -0.4062, -0.1793, ..., 0.4001, -0.2232, 0.2853],\n ...,\n [ 0.1108, 0.0131, -0.0738, ..., 1.0407, 0.0248, 0.2574],\n [ 0.1295, -0.0016, -0.0955, ..., 0.2275, -0.4421, 0.2312],\n [ 0.0677, 0.0757, -0.0438, ..., 1.0910, -0.0415, 0.2614]]]), {\u0027pooled_output\u0027: tensor([[ 0.1816, 0.1668, -0.0162, ..., -0.0837, -0.0519, -0.0119]])}]]" ] ], "NegativeCLIP_Base": [ [ "[[tensor([[[-8.2814e-01, -8.9976e-01, -2.4925e-01, ..., -3.8840e-01,\n -2.9705e-01, -8.5038e-02],\n [-1.4006e-02, -5.4712e-02, -1.8800e-01, ..., 9.8289e-02,\n 3.3537e-02, -4.6822e-02],\n [ 1.4914e-03, -4.9538e-02, 7.5683e-02, ..., 1.6066e-01,\n 5.9424e-02, -3.8710e-01],\n ...,\n [ 1.2805e-01, 1.5386e-02, -7.4367e-02, ..., 1.1515e\u002B00,\n 3.8561e-02, 3.0370e-01],\n [ 1.4866e-01, 3.1534e-04, -9.8461e-02, ..., 2.7417e-01,\n -4.0273e-01, 2.8136e-01],\n [ 7.7070e-02, 8.0774e-02, -4.3993e-02, ..., 1.1467e\u002B00,\n -3.1457e-02, 3.1949e-01]]]), {\u0027pooled_output\u0027: tensor([[ 0.1843, 0.2113, 0.0099, ..., -0.0744, -0.0775, -0.0063]])}]]" ] ], "EmptyLatentImage": [ [ "{\u0027samples\u0027: tensor([[[[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]]]])}" ] ] }, "timestamp": 1723299132761 }

Fortress937 avatar Aug 10 '24 14:08 Fortress937