Fannovel16 / ComfyUI-MotionDiff

Implementation of MDM, MotionDiffuse and ReMoDiffuse into ComfyUI
MIT License
174 stars 14 forks source link

spectre node-issues #27

Closed jags111 closed 5 months ago

jags111 commented 5 months ago
#41 [SpectreImg2SMPL]: 15.44s
Prompt executed in 15.47 seconds
got prompt
[rgthree] Using rgthree's optimized recursive execution.
Prompt executor has been patched by Job Iterator!
100%|████████████████████████████████████████████████████████████████████████████████| 166/166 [00:11<00:00, 14.45it/s]
  0%|                                                                                            | 0/4 [00:00<?, ?it/s]Processing frames 0 to 49
 25%|█████████████████████                                                               | 1/4 [00:00<00:02,  1.06it/s]Processing frames 46 to 95
 50%|██████████████████████████████████████████                                          | 2/4 [00:01<00:01,  1.06it/s]Processing frames 92 to 141
 75%|███████████████████████████████████████████████████████████████                     | 3/4 [00:02<00:00,  1.05it/s]Processing frames 138 to 169
100%|████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:03<00:00,  1.16it/s]
!!! Exception during processing !!!
Traceback (most recent call last):
  File "I:\AI\comfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "I:\AI\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 "I:\AI\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func
    res_value = old_func(*final_args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "I:\AI\comfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "I:\AI\ComfyUI\custom_nodes\ComfyUI-MotionDiff\nodes\spectre_nodes.py", line 252, in sample
    mesh = trimesh.Trimesh(vertices=trans_verts[i])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "I:\AI\comfyUI\venv\Lib\site-packages\trimesh\base.py", line 148, in __init__
    self.vertices = vertices
    ^^^^^^^^^^^^^
  File "I:\AI\comfyUI\venv\Lib\site-packages\trimesh\base.py", line 465, in vertices
    self._data["vertices"] = np.asanyarray(values, order="C", dtype=float64)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "I:\AI\comfyUI\venv\Lib\site-packages\torch\_tensor.py", line 1064, in __array__
    return self.numpy().astype(dtype, copy=False)
           ^^^^^^^^^^^^
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.

#41 [SpectreImg2SMPL]: 15.53s
Prompt executed in 15.56 seconds

can you update this please thanks