kijai / ComfyUI-MimicMotionWrapper

Apache License 2.0
337 stars 27 forks source link

Error occurred when executing DownloadAndLoadMimicMotionModel: #26

Closed aimarxjg closed 4 months ago

aimarxjg commented 4 months ago

'UNetSpatioTemporalConditionModel' object has no attribute 'pose_net'

File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\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 "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MimicMotionWrapper\nodes.py", line 109, in loadmodel set_module_tensor_to_device(self.unet, key, dtype=dtype, device=device, value=sd[key]) File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\accelerate\utils\modeling.py", line 324, in set_module_tensor_to_device new_module = getattr(module, split) ^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\modeling_utils.py", line 151, in getattr return super().getattr(name) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1709, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")

Problems after the update

kijai commented 4 months ago

It's trying to load the wrong model for some reason, the new model should be autodownloaded (I updated the old one too), the choices are these, check if you are selecting the new one: image

from:

https://huggingface.co/Kijai/MimicMotion_pruned/tree/main

lic9425 commented 4 months ago

It's trying to load the wrong model for some reason, the new model should be autodownloaded (I updated the old one too), the choices are these, check if you are selecting the new one: image

from:

https://huggingface.co/Kijai/MimicMotion_pruned/tree/main

Mistakes happen no matter what you choose, right

lic9425 commented 4 months ago

The description of the node said that it helped people streamline the management process of the model, but I solved all the other problems except this one that had been bothering me all day🤣🤣🤣

Luisellap commented 4 months ago

Me too...