Category : theano

I am having an issue to import ‘local_bitwidth’ from ‘theano.configdefaults’. And the following message was displayed: ImportError Traceback (most recent call last) <ipython-input-80-1e0aa55408e4> in <module>() 39 from theano.tensor.nnet import conv 40 from theano.tensor.nnet import softmax —> 41 from theano.tensor import shared_randomstreams 42 from theano.tensor.signal.pool import pool_2d 43 7 frames /usr/local/lib/python3.7/dist-packages/theano/gof/cmodule.py in <module>() 35 # we ..

Read more

In Neural Networks and Deep Learning, there’s an object called network3 (which is a PY file, written for python 2.7 and theano 0.7). I modified it to run with python 3.9 and theano 1.0.3. However, when I run the following code (in google colab): import network3 from network3 import Network from network3 import ConvPoolLayer , ..

Read more

I have a recursive model in PyMC3 and I’m training it on about 600 timesteps. I’m getting the error Exception: (‘Compilation failed (return status=1): /Users/tiwalayoaina/.theano/compiledir_macOS-10.14.6-x86_64-i386-64bit-i386-3.8.8-64/tmp1dgcmqm3/mod.cpp:30412:32: fatal error: bracket nesting level exceeded maximum of 256. if (!PyErr_Occurred()) {. ^. /Users/actinidia/.theano/compiledir_macOS-10.14.6-x86_64-i386-64bit-i386-3.8.8-64/tmp1dgcmqm3/mod.cpp:30412:32: note: use -fbracket-depth=N to increase maximum nesting level. 1 error generated.. ‘, "FunctionGraph(MakeVector{dtype=’float64’}(V0, <TensorType(float64, scalar)>, <TensorType(float64, ..

Read more