mathDR / reading-text-in-the-wild

A Keras/Theano implementation of "Reading Text in the Wild with Convolutional Neural Networks" by M Jaderberg et.al.
GNU General Public License v3.0
116 stars 30 forks source link

TypeError: build() takes exactly 1 argument (2 given) #2

Closed vj-1988 closed 7 years ago

vj-1988 commented 7 years ago

I am getting this error when I try to execute make_keras_dictnet_model.py

self.build(input_shapes[0])

TypeError: build() takes exactly 1 argument (2 given)

vj-1988 commented 7 years ago

This is probably because of insufficient memory. I was able to solve this by re-installing tensorflow in CPU only mode.

mathDR commented 7 years ago

Note: I didn't try this on a GPU. The one I want to run on (Jetson TK1) does not have enough memory to hold the trained network!

vj-1988 commented 7 years ago

I have re-installed the OS after adding a TitanX. I am not getting this error now.