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

Limitation of face registration and memory issues #1

Closed
7thstorm opened this issue Feb 18, 2021 · 4 comments
Closed

Limitation of face registration and memory issues #1

7thstorm opened this issue Feb 18, 2021 · 4 comments

Comments

@7thstorm
Copy link

First of all, this is a great script. Thank you.

I have encountered some issues. I'll try to explain:
below is the screenshot of nvidia-smi when I start deepstack
image

Now, I used the script to register 25 faces. Then I looked at nvidia-smi again
image

as you can see memory usage shot up and stayed there. Script took around 5 seconds to execute

Next, I ran the same registration script and did another nvidia-smi
image

as you can see the memory usage remained high.

To test the theory, i stopped and restarted docker container, and then instead of this script, I used the curl command to register 31 images. It was almost instant, and the memory usage remained low

image

Not sure, if there's some setting on my end or not

@radical-squared
Copy link
Owner

I noticed in your curl command that you're only submitting 2 images as all of your uploads are either image1 or image2. Try increasing the index (i.e. image3, image4) and running curl again.

@7thstorm
Copy link
Author

7thstorm commented Feb 19, 2021

Yes, you're correct. That was an oversight on my part.
After re-running the correct curl line, my nvidia-smi now shows 3.5GB
and it stays there... is there a way to reset the memory usage, so it does not hog the system? Because if I try to rerun it yet again, it throws an error. I have to restart container again and then it will work.. In other words, I can only run that curl once before having to restart container

@7thstorm
Copy link
Author

Is this a memory bug in deepstack? should I open a bug over there?

@7thstorm
Copy link
Author

closing issue here
and opening issue on Deepstack - johnolafenwa/DeepStack#93

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

No branches or pull requests

2 participants