We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Works in v0.6.13 very well with this technique:
batch_copy = deepcopy(image_batch) predictions: list[OCRResult] = run_ocr( batch_copy, allowed_langs, cls.det_model, cls.det_processor, cls.rec_model, cls.rec_processor, batch_size=len(image_batch), )
where as in v0.10.2 using the latest:
batch_copy = deepcopy(image_batch) predictions: list[OCRResult] = recognition_predictor( batch_copy, allowed_langs, cls.detection_predictor, )
It creates a memory stacking in the GPU, and doesn't release it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Works in v0.6.13 very well with this technique:
where as in v0.10.2 using the latest:
It creates a memory stacking in the GPU, and doesn't release it.
The text was updated successfully, but these errors were encountered: