imatge-upc / salgan

SalGAN: Visual Saliency Prediction with Generative Adversarial Networks
https://imatge-upc.github.io/salgan
MIT License
367 stars 106 forks source link

Could not find a version that satisfies the requirement Lasagne==0.2.dev1 #29

Open lorex82 opened 6 years ago

lorex82 commented 6 years ago

hi, i have this error on ubuntu 16.04, debian 9 e fedora 27 after execute the command pip install -r https://raw.githubusercontent.com/imatge-upc/saliency-salgan-2017/master/requirements.txt

Collecting Lasagne==0.2.dev1 (from -r https://raw.githubusercontent.com/imatge-upc/saliency-salgan-2017/master/requirements.txt (line 28)) Could not find a version that satisfies the requirement Lasagne==0.2.dev1 (from -r https://raw.githubusercontent.com/imatge-upc/saliency-salgan-2017/master/requirements.txt (line 28)) (from versions: 0.1) No matching distribution found for Lasagne==0.2.dev1 (from -r https://raw.githubusercontent.com/imatge-upc/saliency-salgan-2017/master/requirements.txt (line 28))

Thanks

GeoCSBI commented 6 years ago

Go here http://lasagne.readthedocs.io/en/latest/user/installation.html and check the "Bleeding-Edge" section. I suggest you to download the requirements.txt so you can edit the file and remove some required packages since they are not used.

pascalxia commented 6 years ago

@GeoCSBI Thank you so much for your suggestion! I came across the same problem, @lorex82 . Following GeoCSBI's suggestion, I ran the command pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip and that fixed the problem. Then when I check the version of Lasagne by running import lasagne; lasagne.__version__, the version was just 0.2.dev1.

I also made a Docker image that can directly run the SalGAN code here. The Docker image is blindgrandpa/theano_cudnn5.1. It uses CUDA 8.0 + cuDNN 5.1.10 + Theano 0.9.0 + Lasagne 0.2.dev1. I hope this could be helpful for some people.