theano Questions

2

Solved

I am trying to implement deconvolution in Keras. My model definition is as follows: model=Sequential() model.add(Convolution2D(32, 3, 3, border_mode='same', input_shape=X_train.shape[1:])) mod...
Everything asked 23/11, 2016 at 16:16

4

Solved

I am trying to import theano library in an aws instance to use GPU. I have written a python script using boto to automate aws setup which will essentially do an ssh to the instance from my local ma...
Erminiaerminie asked 25/2, 2016 at 6:30

2

I have loaded a pre-trained VGG face CNN and have run it successfully. I want to extract the hyper-column average from layers 3 and 8. I was following the section about extracting hyper-columns fro...
Farthest asked 30/7, 2016 at 12:54

1

Keras loads data onto the GPU batch-by-batch (noted by the author here). For small datasets, this is very inefficient. Is there a way to modify Keras or call Theano functions directly (after defin...
Extinctive asked 14/8, 2016 at 16:23

3

Solved

I am working through this great tutorial on creating an image classifier using Keras. Once I have trained the model, I save it to a file and then later reload it into a model in a test script shown...
Salley asked 7/9, 2016 at 17:38

1

In my php website, I call a python script using theano and running on GPU. However, when calling this python script from php, it seems apache doesn't have any permissions on GPU so the progr...
Acetylate asked 9/5, 2016 at 8:3

1

I'm using Keras to do the modelling works and I wonder is it possible to remove certain layers by index or name? Currently I only know the model.pop() could do this work but it just removes the mos...
Filagree asked 17/11, 2016 at 10:50

3

I have Installed Theano on Windows machine and followed the configuration instructions. I placed the following .theanorc.txt file in C:\Users\my_username folder: #!sh [global] device = gpu floatX...
Egmont asked 18/1, 2015 at 15:44

1

I made a pretty simple NN model to do some non-linear regressions for me in Keras, as an introduction exercise. I uploaded my jupyter notebookit as a gist here (renders properly on github), which i...
Multiplex asked 8/6, 2017 at 19:54

2

I'm currently facing an issue while trying to fit my GRU model with my training data. After a quick look on StackOverflow, I found this post to be quite similar to my issue : Simplest Lstm trainin...
Tuyettv asked 6/11, 2015 at 10:5

1

Solved

I have the following code output = T.switch(cond, a, b) where cond is a (N,1) bool Tensor, while a and b are (N, M) numeric Tensors with M being quite large. The condition operates on a row-wise...
Pamela asked 17/5, 2017 at 2:23

0

I am trying to make Theano use the gpu on my Linux machine. It works from the command line, but not from Pycharm. Both are using Python 3.5 from the same folder of my machine. I am testing this sc...
Deferential asked 16/5, 2017 at 20:36

1

Solved

I want to use Keras to train a neural network for 2-dimensional regression. My input is a single number, and my output has two numbers: model = Sequential() model.add(Dense(16, input_shape=(1,), ke...
Exocentric asked 15/5, 2017 at 17:0

1

I use the introduction in the deeplearning tutorials. sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git sudo pip install Theano There is n...
Emmert asked 19/1, 2016 at 13:24

1

Solved

According to the Keras documentation dropout layers show different behaviors in training and test phase: Note that if your model has a different behavior in training and testing phase (e.g. if ...
Alimentation asked 10/5, 2017 at 8:51

5

Solved

Is there anyway to use Rectified Linear Unit (ReLU) as the activation function of the hidden layer instead of tanh() or sigmoid() in Theano? The implementation of the hidden layer is as follows and...
Airwaves asked 21/10, 2014 at 22:38

1

Solved

So i finally managed to get theano up and running on the GPU using this guide. (the test code runs fine, telling me it used the GPU, YAY!!) I then wanted to try it out and followed this guide for t...
Surely asked 24/3, 2017 at 11:27

3

Solved

I'm trying to follow the Deep Autoencoder Keras example. I'm getting a dimension mismatch exception, but for the life of me, I can't figure out why. It works when I use only one encoded dimension, ...
Ahrens asked 10/6, 2016 at 23:35

2

Solved

Since I only have an AMD A10-7850 APU, and do not have the funds to spend on a $800-$1200 NVIDIA graphics card, I am trying to make due with the resources I have in order to speed up deep learning ...
Celeriac asked 31/3, 2017 at 14:20

1

Solved

I know the default backend for Keras has switched from Theano to TensorFlow, but with the dev version of Theano I can train on the GPU with OpenCL (I have an AMD card). However, when I import Ker...
Fellini asked 27/3, 2017 at 19:17

2

I am implementing an operation in keras, such that it can work on both theano and tensorflow backend. Suppose the input of the operation is: array([[ 0, 1, 2], [ 3, 4, 5], [ 6, 7, 8], [ 9, 10, ...
Sining asked 6/1, 2017 at 23:31

1

I have a simple dataframe consisting of one column. In that column are 10320 observations (numerical). I'm simulating Time-Series data by inserting the data into a plot with a window of 200 observa...
Postprandial asked 17/3, 2016 at 16:36

1

Solved

>>> import numpy # OK! >>> import scipy # OK! >>> import theano # warning WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas, and Theano flag blas.ldflags i...
Quianaquibble asked 3/11, 2015 at 12:12

1

Solved

I am having tough time understanding what and how dimshuffle() works implemented in Theano? I got the following set of examples in the official documentation but couldn't understand their meaning. ...
Easygoing asked 22/2, 2017 at 20:17

0

I'm trying to make a "custom" convolutional layer in Theano, where instead of linear filters convoluted with an image, I'm applying sup- or inf- convolutions (essentially dilations and erosions). H...

© 2022 - 2024 — McMap. All rights reserved.