DeepLearningPython
DeepLearningPython copied to clipboard
neuralnetworksanddeeplearning.com integrated scripts for Python 3.5.2 and Theano with CUDA support
thano no longer supports the gpu flag per the errors I received when trying to run test.py I also pointed conv2d to the version theano now recommends.
python 3.6.5 Anaconda still gives this error for `f = gzip.open('mnist.pkl.gz', 'rb')` `training_data, validation_data, test_data = pickle.load(f, encoding="latin1")` `f.close()`
This code ``` for b, w in zip(self.biases, self.weights): z = np.dot(w, activation)+b zs.append(z) activation = sigmoid(z) activations.append(activation) ``` throws the following error, and I don't really know why. (I...
Problem occurred during compilation with the command line below: "C:\Users\qhy89\anaconda3\Library\mingw-w64\bin\g++.exe" -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -march=knl -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -msha...
You should update the following lines of code in network3.py: Line 39 to from theano.tensor.nnet import conv2d Line 227 to conv_out = conv2d Line 229 to input_shape=self.image_shape Note: I recommend...
When running Network3.py I go the following error: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted...
I don't think cPickle should be imported in expand_mnist.py. Shouldn't it be pickle instead?
I am getting the error 'zip object is not subscriptable' when I run the following command in python 3: `net.SGD(training_data[:1000], 10, 10, 0.5, evaluation_data=test_data, lmbda = 0.1, # this is...
Hi, Theano uses intel mkl and can't support apple silicon (M1 and the new M2). I switched to Aesara and made the necessary changes for that switch. An added benefit...
我用定义[4,3,2]的网络跟踪发现 def backprop(self, x, y): z = np.dot(w, activation)+b 这里打印出来的z是一个矩阵,不是一个vector,不知道什么原因。 能否指点一下,谢谢!