theano Questions

1

Solved

I am testing LSTM networks on Keras and I am getting much faster training on CPU (5 seconds/epoch on i2600k 16GB) than on GPU (35secs on Nvidia 1060 6GB). GPU utilisation runs at around 15%, and I ...
Ineducable asked 1/2, 2017 at 4:39

2

Some use cases for neural networks requires that not all neurons are connected between two consecutive layers. For my neural network architecture, I need to have a layer, where each neuron only has...

0

I have some keras code which works synchronously to predict a given input, I have even made amendments so it can work with standard multi-threading (using locks in a seperate class from this) howev...
Anele asked 8/3, 2018 at 3:18

3

Solved

I have a question about using Keras to which I'm rather new. I'm using a convolutional neural net that feeds its results into a standard perceptron layer, which generates my output. This CNN is fed...
Gaylenegayler asked 21/2, 2016 at 7:18

3

I am currently implementing a custom loss layer and in the process, I stumbled upon the implementation of mean squared error in the objectives.py file [1]. I know I'm missing something in my unders...
Campanology asked 17/1, 2017 at 21:48

2

Solved

Lets say, that we do want to process images (or ndim vectors) using Keras/TensorFlow. And we want, for fancy regularization, to shift each input by a random number of positions to the left (owerflo...
Blinding asked 7/3, 2017 at 15:7

2

Background I would like to do mini-batch training of "stateful" LSTMs in Keras. My input training data is in a large matrix "X" whose dimensions are m x n where m = number-of-subsequences n = nu...
Lupita asked 2/2, 2018 at 7:15

2

Solved

I've working on a CNN over several hundred GBs of images. I've created a training function that bites off 4Gb chunks of these images and calls fit over each of these pieces. I'm worried that I'm on...

4

Solved

I am using Theano. The OS is Ubuntu. The Theano is UPTODATE. I am wondering why I am getting by from theano.tensor.signal.downsample import max_pool_2d command. ImportError: No module named downsa...
Dais asked 14/9, 2016 at 23:34

3

in Ubuntu MATE 16.04 I'm trying to run the deep-learning python examples here using the GPU: testing Theano with GPU I did run the example code, THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=flo...
Puerilism asked 17/8, 2016 at 10:37

1

TL.DR. Is there a 3-dimensional friendly implementation of theano.tensor.nnet.neighbours.images2neibs? I would like to perform voxel-wise classification of a volume (NxNxN) using a neural network ...
Archaic asked 29/2, 2016 at 4:23

1

I am try to write a REST api in django that uses a Keras model to return a prediction. However the load_model() function takes some time to load the model and I don't want my users to have to wait ...
Handout asked 2/7, 2017 at 13:53

5

Solved

I'm new to Theano. Trying to set up a config file. First of all, I notice that I have no .theanorc file: locate .theanorc - returns nothing echo $THEANORC - returns nothing theano.test() - passe...
Papaw asked 6/2, 2014 at 16:7

2

Solved

When installing Theano anaconda automatically tries to install pygpu despite this being an optional dependency. I have deleted the .theanorc file from my windows user directory. Also when running...
Fiesta asked 22/11, 2017 at 23:32

3

Solved

I would like to train a GAN in Keras. My final target is BEGAN, but I'm starting with the simplest one. Understanding how to freeze weights properly is necessary here and that's what I'm struggling...
Ocreate asked 17/7, 2017 at 21:47

3

I've been messing with Keras, and like it so far. There's one big issue I have been having, when working with fairly deep networks: When calling model.train_on_batch, or model.fit etc., Keras alloc...
Warfold asked 6/10, 2016 at 7:34

2

Solved

I am pretty new to tensorflow. I used to use theano for deep learning development. I notice a difference between these two, that is where input data can be stored. In Theano, it supports shared va...
Arel asked 2/6, 2016 at 15:37

1

Solved

I would like to implement word2vec algorithm in keras, Is this possible? How can I fit the model? Should I use custom loss function?
Sonnnie asked 25/10, 2016 at 15:35

3

I know this question has been asked in various forms, but I can't really find any answer I can understand and use. So forgive me if this is a basic question, 'cause I'm a newbie to these tools(thea...
Fruity asked 5/5, 2016 at 22:51

1

I would like to know how to make sense of the tensor flow graphs/Histograms generated. The code for this can be found here. This graph is easy to understand Accuracy and loss are straight forward t...
Tocharian asked 5/4, 2016 at 14:25

3

I am struggling to configure a Keras LSTM for a simple regression task. There is some very basic explanation at the official page: Keras RNN documentation But to fully understand, example configur...
Unprofessional asked 19/5, 2016 at 10:29

3

Solved

I have keras installed on my linux machine, but when I try to import a dataset from the keras.datasets I get an error that it cannot find it. So for example: from keras.datasets import mnist I ...
Under asked 16/2, 2016 at 11:33

2

Solved

I use a server which has CUDA 7.5. But the server does not involve CUDNN. Is it possible to install CUDNN, and set all the linkings with CUDA, without root access, for the usage of all application...
Needle asked 22/11, 2016 at 8:28

0

edit September, 2, 2017, 1pm I eventually managed to build a .exe with pyinstaller after many episodes. Unfortunately I failed to deal with the ‘theano’ module (that is required in my case by the...
Amelia asked 18/8, 2017 at 7:15

5

I have installed (/library/python/2.7/site-packages) theano on my mac and still get this error. My code is import theano theano.test() and the error Traceback (most recent call last): File "/...
Heman asked 4/9, 2016 at 9:5

© 2022 - 2024 — McMap. All rights reserved.