guanshuicheng / invoice

Collaboration with wangxupeng(https://github.com/wangxupeng)
MIT License
1.81k stars 447 forks source link

Allocation of 411041792 exceeds 10% of system memory. #15

Closed chneone closed 4 years ago

chneone commented 4 years ago

how to deal with the problem? the memory is too smaller? I use 8G RAM for win10 systerm

guanshuicheng commented 4 years ago

how to deal with the problem? the memory is too smaller? I use 8G RAM for win10 systerm

You can turn off the model of text image orientation correction, or set the GPU to elastic: config.gpu_options.allow_growth = True, because I default set to 0.3 GPU memory