open-mmlab / mmocr

OpenMMLab Text Detection, Recognition and Understanding Toolbox
https://mmocr.readthedocs.io/en/dev-1.x/
Apache License 2.0
4.3k stars 745 forks source link

Memory Leak: PANet #192

Closed seekingdeep closed 3 years ago

seekingdeep commented 3 years ago

Input image used: input

jeffreykuang commented 3 years ago

1 did upgrade your mmcv to 1.3.4? 2 when predicting this dense text img, I suggest to use pannet icdar2015 config.

I guess it is not due to memory leakage. It might be the memory usage complexity of the postprocessing of panet is positively correlated to the pixel number. I have optimized its memory usage already.

I will try to recover your bug to check what's happen.

seekingdeep commented 3 years ago

i reinstalled the python environment, by using this conda environment now PANet works works, thanks