Hi, I finally managed to install cuda and dev versions of lasagne and theano. Now when I try to launch NPE I get this:
gray@gray-linux:~/Neural-Photo-Editor$ python NPE.py
Using gpu device 0: GeForce GTX 970 (CNMeM is disabled, cuDNN 5105)
Loading weights
Traceback (most recent call last):
File "NPE.py", line 53, in
model = IAN(config_path = 'IAN_simple.py', dnn = True)
File "/home/gray/Neural-Photo-Editor/API.py", line 30, in init
GANcheckpoints.load_weights(self.weights_fname,params)
File "/home/gray/Neural-Photo-Editor/GANcheckpoints.py", line 39, in load_weights
param_dict = np.load(fname)
File "/home/gray/miniconda2/lib/python2.7/site-packages/numpy/lib/npyio.py", line 416, in load
"Failed to interpret file %s as a pickle" % repr(file))
IOError: Failed to interpret file 'IAN_simple.npz' as a pickle
Am I doing something wrong? As far as I can understand from search results, np.load is used for binary .npz files, but all I can see in IAN_Simple.npz are three strings of text:
Glad I could help! =p I'm guessing it has to do with the fact that I uploaded them using git-lfs, which may or may not be a requirement for downloading them? Not entirely sure.
Hi, I finally managed to install cuda and dev versions of lasagne and theano. Now when I try to launch NPE I get this:
Am I doing something wrong? As far as I can understand from search results, np.load is used for binary .npz files, but all I can see in IAN_Simple.npz are three strings of text:
UPD: Whoops, my bad. For some reason git clone didn't download raw .npz files. I downloaded them manually and now everything works