Replies: 5 comments
-
原因: |
Beta Was this translation helpful? Give feedback.
-
没有其他占用,改resnet34 yml可以训练,一换svtr就不行 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
./configs/rec/rec_svtrnet_ch.yml 这个配置可以训练 ./configs/rec/PP-OCRv4/ch_PP-OCRv4_rec.yml 这个配置即使设置batch size =1也爆显存,怎么修改这个配置让其能训练? |
Beta Was this translation helpful? Give feedback.
-
是这样的,他好像不会释放显存,会一直申请,4090显存都不够。。。 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述 / Problem Description
运行环境 / Runtime Environment
复现代码 / Reproduction Code
完整报错 / Complete Error Message
可能解决方案 / Possible solutions
附件 / Appendix
Out of memory error on GPU 0. Cannot allocate 120.000000MB memory on GPU 0, 7.953613GB memory has been allocated and available memory is only 47.500000MB.
Please check whether there is any other process using GPU 0.
(at ..\paddle\fluid\memory\allocation\cuda_allocator.cc:87)
. (at ..\paddle\fluid\imperative\tracer.cc:307)
C:\F\pycharm2020.2\PaddleOCR-2.7.5>
C:\F\pycharm2020.2\PaddleOCR-2.7.5>
Beta Was this translation helpful? Give feedback.
All reactions