danieldjohnson / biaxial-rnn-music-composition

A recurrent neural network designed to generate classical music.
BSD 2-Clause "Simplified" License
1.92k stars 380 forks source link

Issue with local_bitwidth() #23

Closed MikhailMS closed 7 years ago

MikhailMS commented 7 years ago

Following error occurs when running app on 64bit system model.py", line 21, in matrixify n if (theano.gof.local_bitwidth() == 64) else T.cast(n,'int32'), AttributeError: 'module' object has no attribute 'local_bitwidth'

However, if change code in module.py from return T.repeat(T.shape_padleft(vector), n if (theano.gof.local_bitwidth() == 64) else T.cast(n,'int32'), axis=0) back to return T.repeat(T.shape_padleft(vector), n, axis=0) no error occurs.

danieldjohnson commented 7 years ago

Should be fixed now.