amaas / stanford-ctc

Neural net code for lexicon-free speech recognition with connectionist temporal classification
Apache License 2.0
248 stars 93 forks source link

CUDAMatrix Attribute error #6

Open madhavsund opened 8 years ago

madhavsund commented 8 years ago

File "runNNet.py", line 250, in run() File "runNNet.py", line 182, in run SGD.run(data_dict, alis, keys, sizes) File "/home/lts/stanford-ctc/ctc_fast/sgd.py", line 97, in run cost,grad,skip = self.model.costAndGrad(mb_data,mb_labels) File "/home/lts/stanford-ctc/ctc_fast/nnets/brnnet.py", line 158, in costAndGrad self.hActsBack.minmax(0.0,self.maxAct,col=T-1) AttributeError: 'CUDAMatrix' object has no attribute 'minmax'

I get the above error while executing runNNet.py...

zxie commented 8 years ago

Did you install the version of cudamat described in the README?

madhavsund commented 8 years ago

yes i installed latest version of cudamat 0.3 but i get exception as follows

lts@LTS-WS3:~/cudamat/test$ nosetests

.........................................................

Ran 57 tests in 0.358s

OK Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method CUDAMatrix.del of <cudamat.cudamat.CUDAMatrix object at 0x2482cd0>> ignored Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method CUDAMatrix.del of <cudamat.cudamat.CUDAMatrix object at 0x2482d10>> ignored

I have one query, My GPU computing capability is 1.2. whether cudamat supports it...