MobileSAM icon indicating copy to clipboard operation
MobileSAM copied to clipboard

Faster Segment Anything (MobileSAM) taking 20 seconds and erroring out

Open patricibal opened this issue 2 years ago • 0 comments

Hi,

I am experiencing an issue with Faster Segment Anything (MobileSAM) where it is taking 20 seconds to run sometimes, and errors out each time. I have also tried placing over 10 points on an image, but it is still taking a long time and not working.

Here are the steps I am taking to reproduce the issue:

I open https://huggingface.co/spaces/dhkim2810/MobileSAM I open the image in MobileSAM, using my own and example images provided. I Select a point with Add Mask I place points on the image I click the "Start segmenting" button The issue occurs when the "Start segmenting" button is clicked. The process sometimes takes 8, 10, and 20 seconds, and each time it errors out with the following message: Error.

I have tried the following to try to fix the issue:

I have tried using different images, but the issue still occurs. I am running MobileSAM on a HP Spectre x360

I would appreciate it if you could look into this issue and let me know if there is anything I can do to fix it.

Thanks, Patrici Bal

patricibal avatar Jun 30 '23 16:06 patricibal