Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'tsr' #1

Open
mesmol opened this issue Aug 21, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'tsr' #1

mesmol opened this issue Aug 21, 2024 · 2 comments

Comments

@mesmol
Copy link

mesmol commented Aug 21, 2024

Hi, and thanks for the hard work.
When I run the converter file I get the ModuleNotFoundError: No module named 'tsr' error.
I installed the tsr package using pip on my system, but the error persists. I'm not sure how to move forward.

@reaperhammer
Copy link

Same... also more:

2024-10-13 18:30:40.3894620 [W:onnxruntime:Default, onnxruntime_pybind_state.cc:2103 onnxruntime::python::CreateInferencePybindStateModule] Init provider bridge failed.
2024-10-13 18:31:41,715 - INFO - Initializing model ...
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1967, in call
File "ui.py", line 49, in process_image
File "run.py", line 48, in convert_to_3d
model = TSR.from_pretrained(
^^^^^^^^^^^^^^^^^^^^
File "system.py", line 57, in from_pretrained
model = cls(cfg)
^^^^^^^^
File "utils.py", line 58, in init
self.configure(*args, **kwargs)
File "system.py", line 63, in configure
self.image_tokenizer = find_class(self.cfg.image_tokenizer_cls)(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "utils.py", line 27, in find_class
module = importlib.import_module(module_string, package=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tsr'

@KVignesh122
Copy link
Owner

Did you guys do step 2 of downloading the relevant files (model.ckpt and config.yaml ) from HuggingFace?
https://huggingface.co/stabilityai/TripoSR/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants