-
Notifications
You must be signed in to change notification settings - Fork 169
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
批量处理图像时的问题 #51
Comments
应该是hook没释放吧 |
那应该如何修改代码呢 |
emm 我看了下有这个函数remove_handlers释放了的 确认下有没有正常调用吧 如果这个有释放 我也不清楚了。。 |
好的,我看看。 |
self.handlers.remove(handle) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好!我这边用这个代码处理单张图没问题,但python里面写for循环批量处理图片的时候GPU的显存占用会随着处理图片数量的增大而增大,最终会报CUDA out of memory,请问该如何解决?
The text was updated successfully, but these errors were encountered: