Closed dhgras closed 7 months ago
max_missed_detection_count
to more readily delete unseen objects, reduce max_num_objects
to cap the maximum number of object memory, reduce SAM_NUM_POINTS_PER_SIDE
to reduce the number of detected objects, or reduce size
to reduce the image resolution.max_missed_detection_count
times. Increasing it will help re-discover some of the objects, but increase memory usage.We are looking at ways to reduce the total memory usage but we don't have a timeline yet.
Okay, I will try your suggestion. Thank you for your reply!
Hello, this is a great work and it has been very helpful to me! Thank you! My device has a RTX 4090 with 24GB VRAM. Currently, I am running the automatic mode demo script on multiple different RGB image sequences. There are two confusing questions for me now:
When the frame resolution is 960 * 540 and the number of frames is below 800, I usually do not encounter CUDA out of memory error. But when dealing with larger and more image sequences (possibly 2000 4k frames), this error arises. So how should I adjust my parameters? My script's parameters are set to:
When one (or more object) is lost from the screen and reappears in subsequent frame, Deva will consider it a new object and assign it a new mask. Is there a way to solve this problem?
I hope to receive your reply or some useful suggestions from others. Thank you.