-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Crash when loading SAM Model #70
Labels
bug
Something isn't working
Comments
Try reinstalling, as mentioned you are using GPU. So, check if you are installing the correct requirements.txt. If the error didn't resolve check if the specified .dll file is present. Can also look for more info here |
@dhunjoshi Please try the latest version:
Thank you! |
Documentation for GPU support: https://anylabeling.com/docs/gpu. |
From AnyLabeling v0.2.22, to load custom models:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using GTX1650 GPU.
Traceback (most recent call last):
File "D:\anaconda3\envs\anylabeling\lib\site-packages\anylabeling\utils.py", line 15, in run
self.func(*self.args, **self.kwargs)
File "D:\anaconda3\envs\anylabeling\lib\site-packages\anylabeling\services\auto_labeling\model_manager.py", line 151, in _load_model
model_info["model"] = SegmentAnything(
File "D:\anaconda3\envs\anylabeling\lib\site-packages\anylabeling\services\auto_labeling\segment_anything.py", line 74, in init
self.encoder_session = onnxruntime.InferenceSession(
File "D:\anaconda3\envs\anylabeling\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 360, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "D:\anaconda3\envs\anylabeling\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 408, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
RuntimeError: D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1106 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\anaconda3\envs\anylabeling\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
The text was updated successfully, but these errors were encountered: