Questions tagged [lasagne]

Lasagne provides a high-level API for creating neural networks using Theano on the backend. Questions about lasagne do not need to also utilize the "theano" tag, unless the question is specifically about Lasagne-Theano integration or the Theano backend.

Lasagne is a Python package build around expressions for neural networks training. was designed as a high-level API on top of , with the intention of making rapid prototyping of neural network architectures easier. It is similar in spirit to , which is built as a high-level API on top of //, although the main difference is that Lasagne implements only one backend, allowing it to integrate more deeply with Theano features.

Resources

Resources and Teaching

Implementations of Network Architectures

204 questions
0
votes
0 answers

nolearn/lasagne ImportError: No module named layers

I am getting an error when I try to run CNN program CNN using my own data set. Im using Python2.7 File "C:\Python27\Lib\site-packages\nolearn\lasagne.py", line 9, in from lasagne.layers import get_all_layers ImportError: No module named…
Alaska
  • 31
  • 2
  • 6
0
votes
1 answer

KeyError raised when training a neural network with Nolearn

I am trying to train a neural network on the iris dataset. I found a tutorial on neural networks using nolearn and the instructor used the mnist dataset. I tried to "mimick" the same algorithm but an error is raised. Here is the code: # Sklearn…
fxhh
  • 47
  • 9
0
votes
1 answer

Parse '.caffemodel.h5' for Lasagne

I have trained a model from caffe in ".caffemodel.h5" format. I want to parse it to extract parameters and feed it to a lasagne model. How can I do it?
Shashank
  • 170
  • 2
  • 10
0
votes
1 answer

Simple LSTM failing due undefined input dimension

I'm trying to build an LSTM model for classifying the ATIS dataset. From a sentence of undefined size N, I generate a context window word embedding matrix. That's what I need to feed on my model, but I can't figure out how to make it so. When I…
Lucas Azevedo
  • 1,867
  • 22
  • 39
0
votes
1 answer

Getting output classification with lasagne

Getting output classification with Lasagne/Theano I am migrating my code from pure Theano to Lasagne. I had this certain code from a tutorial to get the result of a prediction with a certain data and I would generate a csv file to send to…
KenobiBastila
  • 539
  • 4
  • 16
  • 52
0
votes
2 answers

Can't figure out the issue with my Lasagne LSTM

I'm curious if anyone has any insights. Even if you can't figure out the issue how can I begin to debug it. I must say, I am not strong in theano. The input data is a numpy tensor of shape (10,15,10) Here it is. It ran when I just hooked up the…
Elliott Miller
  • 355
  • 2
  • 5
  • 13
-1
votes
2 answers

Image classification using Convolutional neural network

I'm trying to classify hotel image data using Convolutional neural network.. Below are some highlights: Image preprocessing: converting to gray-scale resizing all images to same resolution normalizing image data finding pca…
-1
votes
1 answer

Python 2.7 compilation failure (theano), windows 10

I tried looking at what others have done with problem similar to mine, but I still get the same error. I have no idea what's causing it. I've tried following: How to install Theano on Anaconda Python 2.7 x64 on Windows? but that didn't help. I'm…
Laende
  • 167
  • 2
  • 13
-3
votes
1 answer

Convolutional neural network: how to train it? (unsupervised)

I'm trying to implement a CNN to play a game. I'm using python with theano/lasagne. I've build the network and am now figuring out how to train it. So now I have a batch of 32 states and for each state in that batch the action and the expected…
1 2 3
13
14