hkchengrex/Tracking-Anything-with-DEVA

RuntimeWarning: Trying to segment without any memory!

Masrur02 opened this issue · 7 comments

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

That means the detector fails to detect anything. Are you running the script as-is?

I cannot reproduce this. Can you check if your SAM installation is working?

I see. How about the other demo, i.e., demo_with_text?

I haven't received anything. Feel free to reopen if needed.