satrana42 / CharSCNN

Implementation of CharSCNN
23 stars 4 forks source link

Run error in cnn.py #2

Closed berlino closed 9 years ago

berlino commented 9 years ago

In line 121 of cnn.py cemb = T.stack(temp[i] for i in xrange(len(temp)))

theano.tensor.var.AsTensorError: ('Cannot convert <generator object at 0xa9c26f2c> to TensorType', <type 'generator'>)

satrana42 commented 9 years ago

I had mistakenly uploaded an old, dysfunctional version of the code. The current version is better, though not ideal. There is a readme as well.