Category : lasagne

I tried importing Lasagne in my code which is as follows: from __future__ import print_function import sys import os import time import string import random import pickle import numpy as np import theano import theano.tensor as T import lasagne But on running the file I keep getting the following error: File "main_cifar_100_theano.py", line 12, in ..

Read more

I have just installed both Theano and Lasagne using conda for Theano and pip for Lasagne. Both reside in subdirectories under " C:Userschetsanaconda3envstensorflowLibsite-packages". The following code works: import theano The following code does not: import lasagne The error message for the latter is: "import lasagne Traceback (most recent call last): File "C:UserschetsAppDataLocalTemp/ipykernel_5612/2601130582.py", line 1, in ..

Read more

I’m trying to install Lasagne by following the instructions provided at https://github.com/Lasagne/Lasagne. I am supposed to run the following two commands from the command prompt: pip install -r https://raw.githubusercontent.com/Lasagne/Lasagne/master/requirements.txt pip install https://github.com/Lasagne/Lasagne/archive/master.zip I have no experience dealing with the command prompt, so I don’t completely understand what is going on. Whenever I run these commands, ..

Read more

I am trying to import theano, but it directly import GPU. I want to import theono on CPU. here is the error when i try to import theano ————————————————————————————————– ~Anaconda3libsite-packageslasagnelayersdnn.py in <module>() 1 import theano —-> 2 from theano.sandbox.cuda import dnn 3 4 from .. import init 5 from .. import nonlinearities ~Anaconda3libsite-packagestheanosandboxcuda__init__.py in <module>() ..

Read more