openvino_notebooks
openvino_notebooks copied to clipboard
405 OCR memory quick use out & Can it use "GPU" device
Describe the bug Memory quick use out when run 405 code in commd line .and system broke down .
Expected behavior run code in command line and set use_popup True.It works and show recongenized characters at first ,but soon,the memory quickly grow up and the system broke down
Screenshots screen got stuck and can't boot after a force reboot
Installation instructions (Please mark the checkbox) openvino 2022.1 pip installed ,conda env ,ubuntu 20.04 ,paddle cpu pip installed .
** Environment information ** python 3.8(conda) env , I 5 1135G7
Additional context I also have a question that can it use "GPU" device to infer . I tried to modified "CPU" to "GPU" . but it turn a error seems like "unsurport dynamic layer ". I install the NEO installration and Core().avilibaledevice show "GPU" in list.
I notice a few time there is a memory issue with the webcam demo,.. Will look deeper into it next @adrianboguszewski
@AmazingYi thanks for this bug report. Answering your question: no, you cannot use GPU with this notebook as it uses the Dynamic Shapes feature. Dynamic Shapes require to use CPU.
Please update the documentation in the notebooks. @zhuo-yoyowz
Please update the documentation in the notebooks. @zhuo-yoyowz
Done updating the documentation for notebook 405 on the iGPU issue.
The bug is confirmed. There is a memory leak in the OCR model. It's already fixed in master branch of OpenVINO (see: https://github.com/openvinotoolkit/openvino/pull/12053) but we need to wait for new release.
@riverlijunjie It looks like the bug still exists after updating to 2022.2...
The bug is fixed but this is a natural behavior of this feature showing increasing memory. However, it shouldn't be quick.