Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added OO python detector and venv setup file. #5654

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sarafalamaki
Copy link

No description provided.

@danlapko
Copy link

Seems memory isn't released (especially GPU) after deleting Detector instance.

@sarafalamaki
Copy link
Author

Seems memory isn't released (especially GPU) after deleting Detector instance.

Yeah, I just copied how the detector.py file worked, but turned it all into a class. In my case I use the object as a persistent object (I create 3 different detectors and use them until the program ends), so it's not an issue, but if you send me the references for the destructors, I'll create a clean-up function. I'd imagine that'd be useful if you have a thread pool or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants