theano Questions
2
I'm trying to run a sample Theano code that uses GPU on windows.
My python (with python-dev and Theano and all required libraries) was installed from Anaconda.
This is the error I run into:
Cannot...
4
Solved
I recently got the deep learning docker from https://github.com/floydhub/dl-docker running and while trying out the tutorials, received an error when importing the keras layers module.
from __fut...
Genia asked 23/5, 2017 at 9:46
13
I have installed Keras using this command:
sudo pip install keras
It installed properly and worked fine until I tried to import application modules:
from keras.applications.vgg16 import VGG16
U...
6
I am trying to install Theano on Windwos 8
Have followed these steps.
I try to test using:
import numpy as np
import time
import theano
print('blas.ldflags=', theano.config.blas.ldflags)
A = np...
Counterfoil asked 29/12, 2015 at 9:45
28
Solved
I have a data matrix in "one-hot encoding" (all ones and zeros) with 260,000 rows and 35 columns. I am using Keras to train a simple neural network to predict a continuous variable. The code to mak...
Kinsley asked 14/5, 2016 at 23:4
5
Solved
I am working on Deep Nets using keras. There is an activation "hard sigmoid". Whats its mathematical definition ?
I know what is Sigmoid. Someone asked similar question on Quora: https://www.quora...
Clause asked 15/2, 2016 at 13:54
0
I am importing pymc3 and theano. Using jupyter notebook, python version 3.11.5.I have installed theano 1.0.5 and pymc3 3.11.4. However when I import theano and pymc3 as below:
import numpy as np
im...
Mccorkle asked 3/10, 2023 at 13:40
12
Solved
What would cause a Convolutional Neural Network to diverge?
Specifics:
I am using Tensorflow's iris_training model with some of my own data and keep getting
ERROR:tensorflow:Model diverged with lo...
Glide asked 14/10, 2016 at 19:7
6
I try to install Theano by Anaconda. It works, but when I enter the python -i, import theano shows No module named 'theano'. Do I need to switch another interpreter of Python, how? Also, for the pa...
20
Solved
I have a few thousand audio files and I want to classify them using Keras and Theano. So far, I generated a 28x28 spectrograms (bigger is probably better, but I am just trying to get the algorithm ...
Yawl asked 13/5, 2016 at 15:1
4
I am trying to install theano in Google Colab for testing. I have installed virtualenv and created an environment:
!pip3 install virtualenv
!virtualenv theanoEnv
But am not able to activate the ...
Irradiant asked 30/1, 2018 at 1:32
3
Solved
I'm using Keras with the Theano backend on Ubuntu 16.04. My setup has been working without issues, however, all of a sudden I get the following error when I import Keras (import keras):
ValueErr...
Elmerelmina asked 26/6, 2017 at 17:35
3
I am working on a reinforcement learning task and decided to use keras NN model for Q value approximation. The approach is common: after each action the reward is stored in a memory replay array, t...
Purpleness asked 25/6, 2016 at 8:56
6
Solved
I can not for the life of me figure out how to switch the image ordering. images are read in (x,x,3) format, theano requires it to be in (3,x,x) format. I tried changing the order with
numpy.array(...
Mcspadden asked 7/5, 2017 at 9:5
3
Solved
I'm trying to study the neural-network-and-deep-learning (http://neuralnetworksanddeeplearning.com/chap1.html). Using the updated version for Python 3 by MichalDanielDobrzanski (https://github.com/...
Kranz asked 24/1, 2022 at 19:18
9
running a Dense feed-forward neural net in Keras.
there are class_weights for two outputs, and sample_weights for a third output. fore some reason it prints the progress verbose display for each ba...
Cuneal asked 3/1, 2017 at 11:17
5
Solved
I am currently seeing the API of theano,
theano.tensor.nnet.conv2d(input, filters, input_shape=None, filter_shape=None, border_mode='valid', subsample=(1, 1), filter_flip=True, image_shape=None, *...
Servile asked 27/3, 2016 at 3:31
3
Solved
I don't understand why there is the need to flip filters when using convolutional neural networks.
According to the lasagne documentation,
flip_filters : bool (default: True)
Whether t...
Nightwalker asked 17/7, 2017 at 19:47
4
I'm trying to reshape a tensor from [A, B, C, D] into [A, B, C * D] and feed it into a dynamic_rnn. Assume that I don't know the B, C, and D in advance (they're a result of a convolutional network)...
Bowlder asked 31/10, 2017 at 11:6
6
I installed theano but when I try to use it I got this error:
WARNING (theano.configdefaults): g++ not detected! Theano will be unable to execute
optimized C-implementations (for both CPU and ...
11
I get different results (test accuracy) every time I run the imdb_lstm.py example from Keras framework (https://github.com/fchollet/keras/blob/master/examples/imdb_lstm.py)
The code contains np.ran...
3
I am currently trying to reproduce the results of the following article.
http://karpathy.github.io/2015/05/21/rnn-effectiveness/
I am using Keras with the theano backend. In the article he talks ab...
Koblenz asked 16/5, 2016 at 2:50
3
Solved
I have a layer output I want to multiply by a scalar. I can do this with a lambda layer ie
sc_mult = Lambda(lambda x: x * 2)(layer)
which works fine. But if I want to use a different scalar for ...
4
Solved
I have python 3.
I installed "Theano" bleeding edge and "Keras" using
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
and also
pip install --upgrade git+git://github.com/...
4
Please, I do need a light here. I want to install numpy using a good BLAS/LAPACK lib on Windows, but absolutely no page explains the process well enough. It seems OpenBLAS is a good and fast option...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.