theano Questions

3

Solved

In Keras, we can define the network as follows. Are there any way to output the shape after each layer. For instance, I want to print out the shape of inputs after the line defining inputs, then pr...
Gristly asked 22/11, 2016 at 4:51

1

Solved

This question exists as a github issue , too. I would like to build a neural network in Keras which contains both 2D convolutions and an LSTM layer. The network should classify MNIST. The training...
Froward asked 24/10, 2016 at 14:12

1

Solved

I'm trying to build a Model that has Images for both its Inputs and Outputs (masks). Because of the size of the Dataset and my limited Memory, I tried using the Generator Approach introduced in the...
Formant asked 13/10, 2016 at 15:3

2

Solved

I saved the model as documented on loading and saving. # saving trained model f = file('models/simple_model.save', 'wb') cPickle.dump(ca, f, protocol=cPickle.HIGHEST_PROTOCOL) f.close() ca is a ...
Twinkling asked 10/8, 2015 at 13:38

1

Solved

I am learning about RNN and I wrote this simple LSTM model in keras (theano) using a sample dataset generated using sklearn. from sklearn.datasets import make_regression from keras.models import S...
Stickybeak asked 11/10, 2016 at 2:39

1

Solved

I'm trying to play around with simple time series predictions. Given number of inputs (1Min ticks) Net should attempt to predict next one. I've trained 3 nets with different settings to illustrate ...
Shupe asked 6/10, 2016 at 13:12

3

Solved

I am learning concepts of logistic regression concepts. When i implement it in python, it shows me some error mentioned below. I am beginner in python. Could anybody help to rectify this error? Ru...
Mercola asked 22/5, 2013 at 4:18

2

I got this message in using Keras to train an RNN for language model with a big 3D tensor (generated from a text, one hot encoded, and results a shape of (165717, 25, 7631)): WARNING (theano.confi...
Purehearted asked 12/11, 2015 at 12:31

1

I can't find how one is supposed to install Theano for Python 3.5 (Windows 10) only for Python 2.7. I don't want to have to downgrade to 2.7 so does anyone know how to install Theano for Python 3....
Brynne asked 30/6, 2016 at 16:45

2

Solved

I have installed Theano framework and enabled CUDA on my machine, however when I "import theano" in my python console, I got the following message: >>> import theano Using gpu device 0: G...
Chemesh asked 27/3, 2016 at 13:48

2

Solved

I run "ipython debugf.py" and it gave me error message as below IndexError Traceback (most recent call last) /home/ml/debugf.py in <module>() 8 fff = theano.function(inputs=[index], 9 o...
Monogenesis asked 21/8, 2016 at 10:24

1

Solved

I recently installed Python 2.7 using Anaconda on my Windows 10 (x64) I am trying to install Theano, I am however not sure where I should put the '.theanorc' file (for setting Theano parameters). ...
Sermonize asked 25/8, 2016 at 17:42

2

I have a question about Theano's implementation. How the theano get the gradient of every loss function by the following function(T.grad)? Thank you for your help. gparams = T.grad(cost, self.par...
Gerius asked 3/2, 2015 at 12:52

1

Solved

This layer in not ready documented very well and I'm having a bit of trouble figuring out exactly how to use it. I'm Trying something like: input_img = Input(shape=(1, h, w)) x = Convolution2D(16...
Claudette asked 18/8, 2016 at 12:52

2

Solved

Some simple theano code that works perfectly, stop working when I import pymc3 Here some snipets in order to reproduce the error: #Initial Theano Code (this works) import theano.tensor as tsr x...
Roundel asked 14/5, 2015 at 11:21

1

Solved

I'm working on a multi-label classifier. I have many output labels [1, 0, 0, 1...] where 1 indicates that the input belongs to that label and 0 means otherwise. In my case the loss function that ...
Whitebait asked 31/7, 2016 at 14:5

1

I'm trying to use theano with cpu-multiprocessing with a neural network library, Keras. I use device=gpu flag and load the keras model. Then for extracting features for over a million images, im u...
Atheism asked 4/7, 2016 at 4:8

1

Solved

really finding it hard to understand the input dimensions to the convolutional 1d layer in keras: Input shape 3D tensor with shape: (samples, steps, input_dim). Output shape 3D tensor with shap...
Elderly asked 29/7, 2016 at 10:30

2

I am trying to write a single layer network. When it starts to train through model.fit, at some random epoch it will throw the following error: ValueError: I/O operation on closed file Here is ho...
Torytoryism asked 1/4, 2016 at 23:59

3

I'm doing a neural network in nolearn, a Theano based library that uses lasagne. I'm not understanding how do I define my own cost function. The output layer is only 3 neurons [0, 1, 2] and I wan...
Dwelt asked 22/8, 2015 at 1:1

0

I'm trying to use Keras to run a reinforcement learning algorithm. In this algorithm, I'm training a neural network. What's different from other learning problems is that I need to use the neural n...
Dich asked 22/7, 2016 at 12:42

1

Solved

I have created a simple neural network (Python, Theano) to estimate a persons age based on their spending history from a selection of different stores. Unfortunately, it is not particularly accurat...

1

Solved

I want to create two subtensors from a matrix, using indices to select the respective rows. One subtensor has several rows, the other just one, which should be broadcast to allow for element-wise a...
Preparatory asked 11/7, 2016 at 14:25

0

I am trying to implement this function in theano. This is not about solving the integral (which is immediate) but rather how to implement it. So far I have gotten this import theano from theano im...
Knawel asked 11/7, 2016 at 11:25

0

Using Keras + Theano I successfully made a recurrent bidirectional-LSTM neural network that is capable of training on and classifying DNA sequences of arbitrary lengths, using the following model (...
Whelan asked 8/7, 2016 at 11:52

© 2022 - 2024 — McMap. All rights reserved.