RuntimeWarning: Trying to segment without any memory!
Masrur02 opened this issue · 7 comments
Masrur02 commented
Hi, I am getting a Runtime warning; Trying to segment without any memory!, while I am trying to run the demo_automatic.py file. And after the completion of the code the outputs are not segmented. The outputs are simply the input images. I tried to play with the parameters also to reduce memory usage. My GPU is a Nvidia RTX 4090. How can I get rid of this problem? TIA
hkchengrex commented
That means the detector fails to detect anything. Are you running the script as-is?
Masrur02 commented
Yes, I am Just following the instructions from your repo.
…On Tue, 23 Apr, 2024, 7:46 pm Rex Cheng, ***@***.***> wrote:
That means the detector fails to detect anything. Are you running the
script as-is?
—
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH6OEKKETVV5OCDJJNS5DVLY63XEBAVCNFSM6AAAAABGVXRGBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGY3DOMBZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
hkchengrex commented
I cannot reproduce this. Can you check if your SAM installation is working?
Masrur02 commented
[image: image.png]
I think yes, the SAM installation is working
…On Wed, Apr 24, 2024 at 1:34 AM Rex Cheng ***@***.***> wrote:
I cannot reproduce this. Can you check if your SAM installation is working?
—
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH6OEKOT67L435T4BNYJTQTY6477NAVCNFSM6AAAAABGVXRGBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGA3DOMZVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
hkchengrex commented
I see. How about the other demo, i.e., demo_with_text
?
Masrur02 commented
Hi,
I am sending you the log file.
Best,
Khan
…On Wed, Apr 24, 2024 at 1:24 PM Rex Cheng ***@***.***> wrote:
I see. How about the other demo, i.e., demo_with_text?
—
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH6OEKLFEN33O7K7MB5M4MDY67TE5AVCNFSM6AAAAABGVXRGBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGQ3DKMRYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
hkchengrex commented
I haven't received anything. Feel free to reopen if needed.