Open Erotemic opened 1 year ago
I was able to fix this by adding:
self._encoder_session = onnxruntime.InferenceSession(encoder_path, providers=['AzureExecutionProvider', 'CPUExecutionProvider'])
self._decoder_session = onnxruntime.InferenceSession(decoder_path, providers=['AzureExecutionProvider', 'CPUExecutionProvider'])
on lines 19/20 in labelme/ai/models/segment_anything.py
Provide environment information
What OS are you using?
Ubuntu 22.04
Describe the Bug
I'm getting a core dump when I click "Create AI-Polygons":
It seemed to download the data just fine.
Expected Behavior
not crashing?
To Reproduce
I just did a pip install labelme and did
labelme .
on a directory of images. Not sure what's causing the issue.