ultranationalism / ComfyUI_Pangu_Draw_V3

Apache License 2.0
2 stars 0 forks source link

module 'sgm.modules.encoders.modules' has no attribute 'FrozenCnCLIPEmbedder' #1

Open Yorha4D opened 3 months ago

Yorha4D commented 3 months ago

Error occurred when executing load PanGu Draw V3 model:

module 'sgm.modules.encoders.modules' has no attribute 'FrozenCnCLIPEmbedder'

File "D:\Blender_ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\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 "D:\Blender_ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\node.py", line 63, in load_checkpoint model_low = load_model_from_config( ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\sgm\helpers.py", line 277, in load_model_from_config model = instantiate_from_config(model_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\sgm\util.py", line 181, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\models\diffusion.py", line 60, in init self.conditioner = instantiate_from_config( ^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 175, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\modules\encoders\modules.py", line 79, in init embedder = instantiate_from_config(embconfig) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 175, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 185, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@ultranationalism

ultranationalism commented 2 months ago

Error occurred when executing load PanGu Draw V3 model:

module 'sgm.modules.encoders.modules' has no attribute 'FrozenCnCLIPEmbedder'

File "D:\Blender_ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\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 "D:\Blender_ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\node.py", line 63, in load_checkpoint model_low = load_model_from_config( ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\sgm\helpers.py", line 277, in load_model_from_config model = instantiate_from_config(model_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_Pangu_Draw_V3\sgm\util.py", line 181, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\models\diffusion.py", line 60, in init self.conditioner = instantiate_from_config( ^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 175, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\modules\encoders\modules.py", line 79, in init embedder = instantiate_from_config(embconfig) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 175, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-MotionCtrl-SVD\sgm\util.py", line 185, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@ultranationalism

Thank you for bringing this issue to our attention. It appears that the error you're encountering is due to a conflict between my node and the ComfyUI-MotionCtrl-SVD node.

Unfortunately, the current workaround for this problem is to remove the ComfyUI-MotionCtrl-SVD node from the custom node folder. This should resolve the conflict and prevent the error from occurring.

We understand that this is not an ideal solution, and we are working on a more permanent fix that will allow both nodes to coexist without issues. We appreciate your patience and understanding in the meantime.