Skip to content

Instantly share code, notes, and snippets.

@kumamotone
Created July 18, 2017 17:18
Show Gist options
  • Save kumamotone/57cc9169824b2dfacbe40f415897d04c to your computer and use it in GitHub Desktop.
Save kumamotone/57cc9169824b2dfacbe40f415897d04c to your computer and use it in GitHub Desktop.
kumamoto@kumamotontu:~/iGAN$ THEANO_FLAGS='device=cpu, floatX=float32, nvcc.fastmath=True, optimizer_excluding=cudnn' python iGAN_main.py --model_name outdoor_64
[n_iters] = 40
[top_k] = 16
[average] = False
[morph_steps] = 16
[model_file] = ./models/outdoor_64.dcgan_theano
[d_weight] = 0.0
[interp] = linear
[batch_size] = 64
[framework] = theano
[model_type] = dcgan_theano
[shadow] = False
[model_name] = outdoor_64
[win_size] = 384
LOADING...
('n_layers=', 3)
load model from ./models/outdoor_64.dcgan_theano
2.26 seconds to load theano models
Traceback (most recent call last):
File "iGAN_main.py", line 41, in <module>
model = model_class.Model(model_name=args.model_name, model_file=args.model_file)
File "/home/kumamoto/iGAN/model_def/dcgan_theano.py", line 27, in __init__
self._gen = self.def_gen(self.gen_params, self.gen_batchnorm, n_layers=self.n_layers, n_f=self.n_f, nc=self.nc)
File "/home/kumamoto/iGAN/model_def/dcgan_theano.py", line 40, in def_gen
gx = gen_test(z, gen_params, gen_pl, n_layers=n_layers, n_f=n_f, nc=nc, use_tanh=False)
File "/home/kumamoto/iGAN/model_def/dcgan_theano.py", line 227, in gen_test
hout = relu(batchnorm(deconv(hin, w, subsample=(2, 2), border_mode=(2, 2)), u=u, s=s, g=g, b=b))
File "/home/kumamoto/iGAN/lib/ops.py", line 95, in deconv
d_img = GpuDnnConvGradI()(kerns, img, out, desc)
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/dnn.py", line 859, in __init__
if version() < (5000, 5000):
File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/__init__.py", line 424, in dnn_version
dnn_available.msg)
Exception: ("We can't determine the cudnn version as it is not available", 'CUDA not available')
kumamoto@kumamotontu:~/iGAN$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment