CASIA-IVA-Lab / FastSAM

Fast Segment Anything
GNU Affero General Public License v3.0
7.48k stars 707 forks source link

FastSAM not making any detections on default images #197

Closed DanielGinnArkeus closed 11 months ago

DanielGinnArkeus commented 11 months ago

I have not been able to get FastSAM to produce any output images, and have tracked it down to FastSAM making no detections. I have replicated this issue across two separate computers and on the Google Colab example.

DanielGinnArkeus commented 11 months ago

I rolled back 2 commits and everything works now. Something about the merging of pull request #158 from HtwoOtwo/dev broke inferencing.

hudsonb22 commented 11 months ago

I also had this issue and your solution worked, changed the fastsam/predict.py file. Thanks!

mpj1234 commented 11 months ago

By default, the main branch code, when my code ran, the bug you submitted was fixed, just when the code you modified directly exited the program, and no error message was displayed. After I returned your modification, I could reason the code normally.

屏幕截图 2023-11-30 111731

berry-ding commented 11 months ago

hi, thank you for your interest. we have fixed this bug.