kijai / ComfyUI-LivePortraitKJ

ComfyUI nodes for LivePortrait
MIT License
1.43k stars 108 forks source link

Somethings wrong with the example.json #111

Open Xelawk opened 1 month ago

Xelawk commented 1 month ago
When loading the graph, the following node types were not found:
ImageResizeKJ
MaskPreview+
GetImageSizeAndCount
Nodes that have failed to load will show as red on the graph.
kijai commented 1 month ago

You're missing other custom node packs that are used in the examples:

https://github.com/kijai/ComfyUI-KJNodes

https://github.com/cubiq/ComfyUI_essentials

Xelawk commented 1 month ago

You're missing other custom node packs that are used in the examples:

https://github.com/kijai/ComfyUI-KJNodes

https://github.com/cubiq/ComfyUI_essentials

Thank you for the reply. After fix it, a new error may occur. Is there a special version available:

Error occurred when executing VHS_LoadVideo:

/comfyui/input/d6.mp4 could not be loaded with cv.

File "/comfyui/execution.py", line 156, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/comfyui/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/comfyui/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 259, in load_video
return load_video_cv(**kwargs)
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 134, in load_video_cv
(width, height, fps, duration, total_frames, target_frame_time) = next(gen)
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 43, in cv_frame_generator
raise ValueError(f"{video} could not be loaded with cv.")
lyggyhmm commented 1 month ago

Thank you for the reply. After fix it, a new error may occur. Is there a special version available:

Have you dealt with it?

lyggyhmm commented 1 month ago

You're missing other custom node packs that are used in the examples: https://github.com/kijai/ComfyUI-KJNodes https://github.com/cubiq/ComfyUI_essentials

Thank you for the reply. After fix it, a new error may occur. Is there a special version available:

Error occurred when executing VHS_LoadVideo:

/comfyui/input/d6.mp4 could not be loaded with cv.

File "/comfyui/execution.py", line 156, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/comfyui/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/comfyui/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 259, in load_video
return load_video_cv(**kwargs)
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 134, in load_video_cv
(width, height, fps, duration, total_frames, target_frame_time) = next(gen)
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 43, in cv_frame_generator
raise ValueError(f"{video} could not be loaded with cv.")

Ok, I found that the video is not selected the problem, you choose a video to upload it