You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The images folder contains about 10.000 images.
It stops with this message, after processing 2457 images:
fish: Job 1, 'autodistill --base "grounded_s…' terminated by signal SIGTERM (Polite quit request)
This is repeatable. I observe it consumed a lot of memory, possibly about 32 GB. My machine has 64 GB and two RTX 2080, so I suspect it may be a memory leak that stopped it, but I wasn't at the machine to see this.
Ideally it wouldn't do this and it would have a resume capability that allows you to restart it where it left off.
Edit:
I think it must be a memory leak based on this code in classification_base_model.py:
I run autodistill like this:
The images folder contains about 10.000 images.
It stops with this message, after processing 2457 images:
fish: Job 1, 'autodistill --base "grounded_s…' terminated by signal SIGTERM (Polite quit request)
This is repeatable. I observe it consumed a lot of memory, possibly about 32 GB. My machine has 64 GB and two RTX 2080, so I suspect it may be a memory leak that stopped it, but I wasn't at the machine to see this.
Ideally it wouldn't do this and it would have a resume capability that allows you to restart it where it left off.
Edit:
I think it must be a memory leak based on this code in classification_base_model.py:
So it keeps ALL the images in a dict, even after they were processed. This is unneccesary and will cause lots of memory consumption.
The text was updated successfully, but these errors were encountered: