Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nolearn 0.5 are not compatible with lasagne 0.1 or 0.2?

When I want to import:

from nolearn.lasagne import NeuralNet

I always got this error

"cannot import name mse".

My Theano version is 0.7.0.

like image 498
Kun Avatar asked Nov 18 '25 07:11

Kun


1 Answers

I uninstalled nolearn and lasagne:

pip uninstall nolearn
pip uninstall lasagne

And then run following in command line:

pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt https://github.com/dnouri/nolearn/archive/master.zip#egg=nolearn

Now it works.

like image 154
Kun Avatar answered Nov 21 '25 06:11

Kun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!