bgshih / crnn

Convolutional Recurrent Neural Network (CRNN) for image-based sequence recognition.
MIT License
2.05k stars 549 forks source link

What version of this program does it work with?(32bit or 64bit) #52

Closed mskim1024 closed 7 years ago

mskim1024 commented 7 years ago

I am trying to use Unicode to learn more than 10,000 characters, but I still get an error message saying that the memory is insufficient. I tracked memory usage so I could see that it stopped at 3.3G. Does this program only work on 32bit? Or did I make a mistake?

bgshih commented 7 years ago

@mskim1024 Torch7 libraries are 64bit. But its interpreter LuaJIT is 32bit-only, which is very likely to be the reason of your memory problem. Make sure you are not storing large arrays in LuaJIT tables. Instead, try to put such an array into a Torch7 tensor.

mskim1024 commented 7 years ago

Thank you for your quick and kind reply. It has helped a lot.