theano Questions

1

For some reason when I use an ImageDataGenerator with keras it freezes when I start the fit. I get the following output. It just hangs on the line Epoch 1/5 Using Theano backend. Using gpu device ...
Rarotonga asked 7/5, 2016 at 23:33

1

Solved

def preprocess_input(x): x /= 255. x -= 0.5 x *= 2. return x  I am using keras inception_v3 imagenet pretrained model(inception_v3.py) to finetune on my own dataset.  When I want to sub...
Northampton asked 16/2, 2017 at 13:49

3

I have two vectors v and w and I want to make a matrix m out of them such that: m[i, j] = v[i] * w[j] In other words I want to calculate the outer product of them. I can do it either by using th...
Telford asked 7/2, 2017 at 16:5

3

I've installed Anaconda. Now I want to install the Theano library in Anaconda. I have tried: The Theano installer for Anaconda from http://deeplearning.net/software/theano/install.html#windows-in...
Dah asked 23/12, 2014 at 23:10

2

Solved

I'm trying to implement in keras a neural(ish) net with this design: http://nlp.cs.rpi.edu/paper/AAAI15.pdf The algorithm has, essentially, three inputs. Input 2 and Input 3 get multiplied by the ...
Crux asked 10/12, 2015 at 4:22

5

Solved

Can someone help me rewrite this one function (the doTheMath function) to do the calculations on the GPU? I used a few good days now trying to get my head around it but to no result. I wonder maybe...
Chyle asked 31/1, 2017 at 12:26

3

Solved

I'm new to Keras and im trying to do Binary MLP on a dataset, and keep getting indices out of bounds with no idea why. from keras.models import Sequential from keras.layers.core import Dense, Drop...
Earhart asked 13/3, 2016 at 10:10

1

Solved

I'm trying to test Azure Machine Learning Studio. I want to use TensorFlow, but it is not installed on Jupyter notebook. How can I use some machine learning libraries like TensorFlow, Theano, Ke...

1

Solved

I use Keras and I try to concatenate two different layers into a vector (first values of the vector would be values of the first layer, and the other part would be the values of the second layer). ...
Crespi asked 30/1, 2017 at 10:39

3

I am trying to install Theano on CPU machine (running intel HD graphics, without NVIDIA). I get the following import error while testing in python. WARNING (theano.configdefaults): g++ not detecte...
Bibliophile asked 29/6, 2015 at 4:26

2

Solved

I have followed the instructions from this: https://gist.github.com/jarutis/ff28bca8cfb9ce0c8b1a But then when I tried : THEANO_FLAGS=device=opencl0:0 python test.py on the test file I am getting e...
Savagery asked 2/9, 2016 at 17:36

3

Solved

I am getting an import error when trying to import the Keras module Nadam: >>> from keras.optimizers import Nadam Traceback (most recent call last): File "<stdin>", line 1, in <...
Michalemichalski asked 6/8, 2016 at 23:51

2

I've been fooling-around trying to get simple examples that I create working, because I find the examples given with large complicated datasets to be hard to grasp intuitively. The program below ta...
Borneol asked 28/11, 2015 at 7:57

1

I am working in a reinforcement learning program and I am using this article as the reference. I am using python with keras(theano) for creating neural network and the pseudo code I am using for th...
Unwelcome asked 10/10, 2016 at 4:54

2

Solved

How to implement Weighted Binary CrossEntropy on theano? My Convolutional neural network only predict 0 ~~ 1 (sigmoid). I want to penalize my predictions in this way : Basically, i want to pen...
Foretooth asked 9/9, 2016 at 12:51

2

Solved

I read some materials about data augmentation in Keras but it is still a bit vague for me. Is there any parameter to control the the number of images created from each input image in the data augme...
Jarib asked 15/12, 2016 at 22:42

2

I am trying to import theano in a module, but I am getting a traceback: File "/media/tarun/6A86CA8286CA4DEF/develop/pydy/pydy/codegen/code.py", line 16, in <module> import theano File "/usr/...
Genovevagenre asked 21/8, 2014 at 9:47

1

I would like to apply Deep Learning to my classification problem where the size of the gray-scale images in my dataset are 200x200. Currently, I am testing DL on a very small subset (152 images) of...
Proscribe asked 9/12, 2016 at 17:8

4

I have some pickle files of deep learning models built on gpu. I'm trying to use them in production. But when i try to unpickle them on the server, i'm getting the following error. Traceback (m...
Mt asked 11/8, 2014 at 6:28

1

Solved

I read a lot of papers on convnets, but there is one thing I don't understand, how the filters in convolutional layer are initialized ? Because, for examples, in first layer, filters should detect ...
Fishing asked 7/12, 2016 at 14:50

2

Solved

I was setting up python and theano for use with gpu on; ubuntu 14.04, GeForce GTX 1080 already installed NVIDIA driver (367.27) and CUDA toolkit (7.5) successfully for the system, but on testing w...
Minorite asked 30/6, 2016 at 13:56

4

Solved

When I run import theano in Python, I get the following error message: Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more...
Snuck asked 18/7, 2016 at 22:12

2

Solved

I noticed that in theano, when one creates a shared variable based on 1D numpy array, this becomes a vector, but not a row: import theano.tensor as T import theano, numpy shared_vector = theano...
Eugene asked 15/10, 2015 at 15:5

2

Solved

I want to build a neural network where the two first layers are feedforward and the last one is recurrent. here is my code : model = Sequential() model.add(Dense(150, input_dim=23,init='normal',ac...
Bor asked 22/6, 2016 at 10:20

1

Solved

I'm doing some pymc3 and I would like to create custom Stochastics, however there doesn't seem to be a lot documentation about how it's done. I know how to use the as_op way, however apparently tha...
Jacki asked 18/8, 2016 at 17:31

© 2022 - 2024 — McMap. All rights reserved.