Skip to content

Instantly share code, notes, and snippets.

@mrdrozdov
Created April 14, 2017 14:20
Show Gist options
  • Save mrdrozdov/fd51d0bbc77437522f986eafe45aa42a to your computer and use it in GitHub Desktop.
Save mrdrozdov/fd51d0bbc77437522f986eafe45aa42a to your computer and use it in GitHub Desktop.
igan.txt
$ THEANO_FLAGS='device=cpu, floatX=float32, nvcc.fastmath=True' 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
3.27 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 "/Users/Andrew/Developer/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 "/Users/Andrew/Developer/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 "/Users/Andrew/Developer/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 "/Users/Andrew/Developer/iGAN/lib/ops.py", line 95, in deconv
d_img = GpuDnnConvGradI()(kerns, img, out, desc)
File "/Users/Andrew/anaconda/envs/theano-2.7/lib/python2.7/site-packages/theano/sandbox/cuda/dnn.py", line 859, in __init__
if version() < (5000, 5000):
File "/Users/Andrew/anaconda/envs/theano-2.7/lib/python2.7/site-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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment