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
Update ImageClassifier.java #27098
Update ImageClassifier.java #27098
Conversation
When switching from GPU mode to CPU mode, gpuDelegate is not released. If switching to GPU again, gpuDelegate will be regenerated. If you keep switching, the memory will explode.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
I signed it. |
There is |
I signed it! |
@GuitarZhang i cannot see the CLA , can you please check again |
The user name I filled in was 258303742@qq.com(my email) or guitarzhang. Now I fill in the correct user name GuitarZhang, can you Please see again. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@GuitarZhang sorry for the delay , can you please resolve conflicts. |
Can one of the admins verify this patch? |
changes are pushed by this commit |
When switching from GPU mode to CPU mode, gpuDelegate is not released. If switching to GPU again, gpuDelegate will be regenerated. If you keep switching, the memory will explode.