🌐
Reddit
reddit.com › r/comfyui › ksampler 'nonetype' object has no attribute 'shape'
r/comfyui on Reddit: KSampler 'NoneType' object has no attribute 'shape'
February 27, 2025 -

hello people, I would like to ask what could cause this problem. everything be working and when I load a controlnet union sdxl it just doesn't work after I try to apply it, I tried many workflows online and all have the same issue. Any one would know what a possible solution for this?

I checked this in Change 'c_adm' to 'y' in ControlNet.get_control by Kosinkadink · Pull Request #1836 · comfyanonymous/ComfyUI but the whole y thing was not found.

thank you <3

🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 1835
KSampler fails with "'NoneType' object has no attribute 'shape'" after update · Issue #1835 · Comfy-Org/ComfyUI
October 25, 2023 - Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' File "/workspace/ComfyUI/execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/workspace/ComfyUI...
Author   mysticfall
Discussions

Error occurred when executing KSampler - Stable Diffusion Art
Error occurred when executing KSampler: 'NoneType' object has no attribute 'shape' File "/Users/myuser/ComfyUI/execution.py", line 152, in recursive_execute More on stable-diffusion-art.com
🌐 stable-diffusion-art.com
February 8, 2024
KSampler 'NoneType' object has no attribute 'shape'
Your question Hello total noob here, i have this KSampler error does anyone know a fix please? Logs # ComfyUI Error Report ## Error Details - **Node Type:** KSampler - **Exception Type:** Attribute... More on github.com
🌐 github.com
3
September 16, 2024
AttributeError: 'NoneType' object has no attribute 'shape'
Description I am using TensorRT engine for inference using Jetson TX2 I converted tensorflow freezed graph model.pb file of face detector FaceBoxes to faceboxes.onnx file first. And while creating the engine.plan from … More on forums.developer.nvidia.com
🌐 forums.developer.nvidia.com
1
0
April 25, 2021
AttributeError: 'NoneType' object has no attribute 'shape'
Realistic Vision V60 B1 is most probably SD 1.5 model, and you're trying to use SDXL control net, you can't do that. You should make sure to use SD 1.5 control net with SD 1.5 model. More on reddit.com
🌐 r/comfyui
5
0
April 13, 2025
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 6590
NoneType' object has no attribute 'shape' problem · Issue #6590 · Comfy-Org/ComfyUI
January 24, 2025 - 'NoneType' object has no attribute 'shape' 2025-01-24T20:57:56.434706 - Traceback (most recent call last): File "D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, 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_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, in get_output_data return_value
Author   nadainterior
🌐
Stable Diffusion Art
stable-diffusion-art.com › home › topics › tech support › error occurred when executing ksampler
Error occurred when executing KSampler - Stable Diffusion Art
February 8, 2024 - It is not possible to run workflow below: <h1 class=”entry-title”>AI Fashion idea generator (ComfyUI)</h1> Erro message follows below: Error occurred when executing KSampler: ‘NoneType’ object has no attribute ‘shape’ File “/Users/myuser/ComfyUI/execution.py”, line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/Users/myuser/ComfyUI/execution.py”, line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 5356
KSampler 'NoneType' object has no attribute 'shape' · Issue #5356 · Comfy-Org/ComfyUI
'NoneType' object has no attribute 'shape' 2024-10-25 11:13:31,738 - root - ERROR - Traceback (most recent call last): File "F:\Learning & Experiment\Stable Diffusion\ComfyUI_windows\ComfyUI\execution.py", line 323, 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 "F:\Learning & Experiment\Stable Diffusion\ComfyUI_windows\ComfyUI\execution.py", line 198, in get_output_data retu
Author   ghost
🌐
GitHub
github.com › Comfy-Org › ComfyUI › issues › 4946
KSampler 'NoneType' object has no attribute 'shape' · Issue #4946 · Comfy-Org/ComfyUI
September 16, 2024 - 'NoneType' object has no attribute 'shape' 2024-09-16 21:37:08,417 - root - ERROR - Traceback (most recent call last): File "D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, 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_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
Author   Dant90
Find elsewhere
🌐
NVIDIA Developer Forums
forums.developer.nvidia.com › ai & data science › deep learning (training & inference) › tensorrt
AttributeError: 'NoneType' object has no attribute 'shape' - TensorRT - NVIDIA Developer Forums
April 25, 2021 - Description I am using TensorRT engine for inference using Jetson TX2 I converted tensorflow freezed graph model.pb file of face detector FaceBoxes to faceboxes.onnx file first. And while creating the engine.plan from faceboxes.onnx file, I am facing the following issue.
🌐
Reddit
reddit.com › r/comfyui › attributeerror: 'nonetype' object has no attribute 'shape'
r/comfyui on Reddit: AttributeError: 'NoneType' object has no attribute 'shape'
April 13, 2025 -

hey guys! I am new to comfyui! I am watching a tutorial on face swapping, when following the steps. I came across this error that is on the title when I try to run the image. I tried to restart comfyui but that didn't seem to work.

this is my workflow is that.
🌐
Fast.ai
forums.fast.ai › part 1 (2018)
AttributeError: 'NoneType' object has no attribute 'shape' - Part 1 (2018) - fast.ai Course Forums
December 22, 2017 - My data is organised as: train:- containing folder for each class valid :- containing folder for each class test:- contains all test images [error]
🌐
Frappe
discuss.frappe.io › frappe framework › app development
AttributeError: 'NoneType' object has no attribute 'split' - App Development - Frappe Forum
April 20, 2020 - Hello all, I am creating a new doctype under the HR module, when I save the doctype, I get this error. If I try to save the doctype, I get an error which says AttributeError: ‘NoneType’ object has no attribute ‘split’ …
🌐
OpenArt
openart.ai › workflows › nomadoor › refining-reactors-face-swap-results-with-instantid › OzeGHAVL2oHdpf5Ziqpj
Refining ReActor’s Face Swap Results with InstantID | ComfyUI Workflow | OpenArt
February 22, 2024 - Created by: nomadoor: Weaknesses of ReActor ReActor can only create images of 128px × 128px, so the resolution is inherently low. To compensate for this, there are tools like Codeformer and GFPGAN, but they tend to make the skin look flat. Also, it lacks a sense of depth.
🌐
ComfyUI Nodes Info
ltdrdata.github.io
ComfyUI Nodes Info
ComfyUI Nodes Info · GitHub Repositories: [ComfyUI] [ComfyUI-Manager] [ltdrdata.github.io] · Type: · Author · Title · Description · Nodes · Toggle Theme
🌐
FSDeveloper
fsdeveloper.com › forums › microsoft flight simulator development › 3d asset design › 3d objects general
P3D v4 - SOLVED: AttributeError: ‘NoneType’ object has no attribute ‘attrib’ | FSDeveloper
October 11, 2019 - While editing the SDK modeldef I caused the same error again in my 'clean' model. I found that it was due to having a part tagged with an animation that had been changed in the modeldef and not clearing the animation caused the attribute error.
🌐
PyTorch Forums
discuss.pytorch.org › t › attributeerror-nonetype-object-has-no-attribute-shape › 70838
AttributeError: 'NoneType' object has no attribute 'shape' - PyTorch Forums
February 24, 2020 - When i train my data which like cocodataset,an error occurred,can someone help me fix it ? The error information is : libpng error: Read Error Traceback (most recent call last): File “tools/train.py”, line 142, in …