Skip to content

Running error after model load. Please advice! #17

Description

@zappazack

2024-03-05 13:55:09,053 - INFO - Initializing model finished in 3986.39ms.
2024-03-05 13:55:09,053 - INFO - Processing images ...
EP Error D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
2024-03-05 13:55:13,743 - INFO - Processing images finished in 4689.23ms.
2024-03-05 13:55:13,743 - INFO - Running image 1/1 ...
2024-03-05 13:55:13,743 - INFO - Running model ...
2024-03-05 13:55:14,634 - INFO - Running model finished in 891.16ms.
2024-03-05 13:55:14,634 - INFO - Exporting mesh ...
Traceback (most recent call last):
File "C:\Users\User\Documents\GitHub\TripoSR\run.py", line 154, in
meshes = model.extract_mesh(scene_codes)
File "C:\Users\User\Documents\GitHub\TripoSR\tsr\system.py", line 185, in extract_mesh
v_pos, t_pos_idx = self.isosurface_helper(-(density - threshold))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in call_impl
return forward_call(*args, **kwargs)
File "C:\Users\User\Documents\GitHub\TripoSR\tsr\models\isosurface.py", line 45, in forward
v_pos, t_pos_idx = self.mc_func(level.detach(), 0.0)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\torchmcubes_init
.py", line 12, in marching_cubes
return mc.mcubes_cuda(vol, thresh)
AttributeError: module 'torchmcubes_module' has no attribute 'mcubes_cuda'. Did you mean: 'mcubes_cpu'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions