theano Questions

1

Based on the famous check_blas.py script, I wrote this one to check that theano can in fact use multiple cores: import os os.environ['MKL_NUM_THREADS'] = '8' os.environ['GOTO_NUM_THREADS'] = '8'...
Mcreynolds asked 28/4, 2016 at 8:15

2

I've been trying to build a model using 'Deep Q-Learning' where I have a large number of actions (2908). After some limited success with using standard DQN: (https://www.cs.toronto.edu/~vmnih/docs/...
Humanist asked 5/11, 2016 at 12:56

12

Solved

I have installed Keras, and wanted to switch the backend to Theano. I checked out this post, but still have no idea where to put the created json file. Also, below is the error I got when running i...
Speller asked 28/10, 2016 at 17:11

6

I have a simple NN model for detecting hand-written digits from a 28x28px image written in python using Keras (Theano backend): model0 = Sequential() #number of epochs to train for nb_epoch = 12 ...
Need asked 29/4, 2016 at 20:9

4

Solved

In the deep learning implementations related to object detection and semantic segmentation, I have seen the output layers using either sigmoid or softmax. I am not very clear when to use which? It ...
Pall asked 31/12, 2016 at 14:46

2

I have a network in Keras with many outputs, however, my training data only provides information for a single output at a time. At the moment my method for training has been to run a prediction on...

4

I am current getting the error ImportError: cannot import name gof when importing theano. >>> import theano Traceback (most recent call last): File "<pyshell#3>", line 1, i...
Obtund asked 16/7, 2015 at 1:58

8

Solved

I am trying to work on neural networks in Python using the following Keras packages: from keras.utils import np_utils from keras.layers.core import Dense, Activation, Dropout from keras.models imp...
Almucantar asked 4/12, 2015 at 21:44

3

Solved

I am trying to get Theano to run with Keras on a Raspberry Pi 3 (B) without success. I tried Ubuntu MATE and Raspbian as operating systems, without success. To install Theano and Keras, I have take...
Acquittance asked 29/10, 2016 at 8:8

3

Solved

After installing python, numpy, scipy and theano to ~/.local, I tried to import theano but it threw an error: >>> import theano Problem occurred during compilation with the command line b...
Ashtray asked 24/1, 2014 at 21:36

7

Solved

I am using Keras (with Theano) to train my CNN model. Does anyone has idea how can I use it in my C++ application? Does anyone tried something similar? I have idea to write some python code t...
Cowgirl asked 19/4, 2016 at 13:52

3

Solved

I would like to access the layer size of all the layers in a Sequential Keras model. My code: model = Sequential() model.add(Conv2D(filters=32, kernel_size=(3,3), input_shape=(64,64,3) )) mod...
Midshipman asked 2/5, 2017 at 17:8

3

Solved

I'm attempting to write a custom Theano Op which numerically integrates a function between two values. The Op is a custom likelihood for PyMC3 which involves the numerical evaluation of some integr...
Baluster asked 8/3, 2017 at 17:55

2

How do you write a simple sequence copy task in keras using the LSTM architecture without an Embedding layer? I already have the word vectors.
Kindly asked 11/5, 2016 at 18:45

6

Solved

I'm attempting to get setup with a proper g++ installation according to the theano installation guide. I've previously had theano working with the python only implementation. I'm using the bleeding...
Flatfooted asked 22/7, 2016 at 23:58

4

Solved

What is the definition of non-trainable parameter in a model? For example, while you are building your own model, its value is 0 as a default, but when you want to use an inception model, it is b...
Traumatize asked 15/11, 2017 at 16:11

2

Solved

I have started with Machine Learning recently, I am learning CNN, I planned to write an application for Car Damage severity detection, with the help of this Keras blog and this github repo. This ...
Tedmann asked 28/4, 2018 at 18:5

0

I am using the joblib library to run multiple NN on my multiple CPU at once. the idea is that I want to make a final prediction as the average of all the different NN predictions. I use keras and t...
Pastypat asked 11/9, 2018 at 7:31

2

Solved

I am trying to run the following model, but it fails during compilation: import numpy as np import pymc3 as pm def sample_data(G=1, K=2): # mean proportion ([0,1]) for each g p_g = np.random.b...

1

Solved

I have trained a model in Keras. The model contains dropout layers and I want to be absolutely sure nothing is dropped when doing this. According to the documentation, a layer's output can be extra...
Brentwood asked 28/6, 2018 at 20:56

3

Solved

I know that I can install Cuda with the following: wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/cuda_7.0.28_linux.run chmod +x cuda_7.0.28_linux.run ./cuda_7.0...
Ermelindaermengarde asked 7/9, 2016 at 22:13

4

Solved

I have seen that transpose and reshape together can help but I don't know how to use. Eg. dimshuffle(0, 'x') What is its equivalent by using transpose and reshape? or is there a better way? Thank...
Borecole asked 2/2, 2016 at 21:4

1

I am new to Keras and just started working on some examples. I am dealing with the following problem: I have 4032 samples and use about 650 of them as for the fit or basically the training state an...
Demitria asked 22/6, 2016 at 17:5

1

Solved

I have a code as follows. What I want to do is to share the same weights in two dense layers. The equation for op1 and op2 layer will be like that op1 = w1y1 + w2y2 + w3y3 + w4y4 + w5y5 + b1 op2...
Aponte asked 17/4, 2018 at 10:0

1

how do you train a neural network to map from a vector representation, to one hot vectors? The example I'm interested in is where the vector representation is the output of a word2vec embedding, an...
Nutritive asked 20/4, 2017 at 9:22

© 2022 - 2024 — McMap. All rights reserved.