Open KANKANYANGKANKAN opened 2 months ago
same
Sorry but these error reports with so little info are pretty much useless, need to know the workflow, selected model, python environment versions, full startup log etc. etc.
Kijai, I encounter same issue, from my check ,I find if the video file incllude some blank frame that may could not figure out the the person, then this error may happen, you can see the frame below that cause this error.
@kijai occurred same issue, and here is the context:
error stack info:
2024-07-10 14:14:34,169- root:124- INFO- Prompt executed in 0.10 seconds
2024-07-10 14:17:20,567- root:450- INFO- got prompt
[rgthree] Using rgthree's optimized recursive execution.
2024-07-10 14:17:20,982- root:179- ERROR- !!! Exception during processing!!! object of type 'NoneType' has no len()
2024-07-10 14:17:20,982- root:180- ERROR- Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/root/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/root/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/root/ComfyUI/custom_nodes/ComfyUI-MimicMotionWrapper/nodes.py", line 427, in process
detected_poses_np_list.append(self.dwprocessor(img_np))
File "/root/ComfyUI/custom_nodes/ComfyUI-MimicMotionWrapper/mimicmotion/dwpose/dwpose_detector.py", line 29, in __call__
candidate, score = self.pose_estimation(oriImg)
File "/root/ComfyUI/custom_nodes/ComfyUI-MimicMotionWrapper/mimicmotion/dwpose/wholebody.py", line 38, in __call__
keypoints, scores = inference_jit_pose(self.pose, det_result, oriImg)
File "/root/ComfyUI/custom_nodes/ComfyUI-MimicMotionWrapper/mimicmotion/dwpose/jit_pose.py", line 357, in inference_pose
resized_img, center, scale = preprocess(oriImg, out_bbox, model_input_size)
File "/root/ComfyUI/custom_nodes/ComfyUI-MimicMotionWrapper/mimicmotion/dwpose/jit_pose.py", line 25, in preprocess
if len(out_bbox) == 0:
TypeError: object of type 'NoneType' has no len()
workflow file: examples/mimic_motion_example_02.json
model:
python env:
I have raised a pr to fix this issue, and it's worked for me. @kijai
@dwgeneral what did you do to fix this mate?
I just used the example workflow from the repo, but reorganised it to learn how it works - however, I'm getting the same error.
My setup: Windows 11 OS Non-portable version of comfyui (re-installed today so all up to date) Python 3.10 Cuda 1.2.1
@dwgeneral what did you do to fix this mate?
I just used the example workflow from the repo, but reorganised it to learn how it works - however, I'm getting the same error.
My setup: Windows 11 OS Non-portable version of comfyui (re-installed today so all up to date) Python 3.10 Cuda 1.2.1
Try with the included example assets first to make sure it's not a detection issue or some other issue with your source, they are in the custom node's folder: assets\example_data\videos
@dwgeneral what did you do to fix this mate?
I just used the example workflow from the repo, but reorganised it to learn how it works - however, I'm getting the same error.
My setup: Windows 11 OS Non-portable version of comfyui (re-installed today so all up to date) Python 3.10 Cuda 1.2.1
You can git pull the latest code for this repo and restart your ComfyUI to try it, and you should follow the steps that @kijai said above
Thank you @dwgeneral and @kijai I'll try it out and update the luck/no-luck update here.