Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with VAE_GAN.ipynb #23

Open
ArghyaPal opened this issue Mar 28, 2017 · 0 comments
Open

Problem with VAE_GAN.ipynb #23

ArghyaPal opened this issue Mar 28, 2017 · 0 comments

Comments

@ArghyaPal
Copy link

Hi, @jwhitmire @billeisenhauer @bjallen

When I tried the .ipynb on my dataset. I got the following error:

`
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc fatal : Could not open output file '/tmp/tmpxft_00004d81_00000000'

Traceback (most recent call last):
File "see.py", line 17, in
vg.fit(x_all, save_freq=2, pic_freq=30, n_epochs=4, model_path = m_path, img_path=im_path) #, mirroring=True)#, flag_gpu=False)
File "/usr/local/lib/python2.7/dist-packages/fauxtograph/fauxtograph.py", line 1342, in fit
kl_loss, dif_l, disc_rec, disc_batch, disc_samp = self._forward(x_batch)
File "/usr/local/lib/python2.7/dist-packages/fauxtograph/fauxtograph.py", line 1099, in _forward
encoded, means, ln_vars = self._encode(batch, test=test)
File "/usr/local/lib/python2.7/dist-packages/fauxtograph/fauxtograph.py", line 1082, in _encode
x = self.enc(data, test=test)
File "/usr/local/lib/python2.7/dist-packages/fauxtograph/vaegan.py", line 127, in call
batch = self.bn1(batch, test=test)
File "/usr/local/lib/python2.7/dist-packages/chainer/links/normalization/batch_normalization.py", line 93, in call
ret = func(x, self.gamma, self.beta)
File "/usr/local/lib/python2.7/dist-packages/chainer/function.py", line 105, in call
outputs = self.forward(in_data)
File "/usr/local/lib/python2.7/dist-packages/chainer/functions/normalization/batch_normalization.py", line 53, in forward
mean = x.mean(axis=axis)
File "cupy/core/core.pyx", line 679, in cupy.core.core.ndarray.mean (cupy/core/core.cpp:13034)
File "cupy/core/core.pyx", line 687, in cupy.core.core.ndarray.mean (cupy/core/core.cpp:12899)
File "cupy/core/reduction.pxi", line 252, in cupy.core.core.simple_reduction_function.call (cupy/core/core.cpp:44135)
File "cupy/util.pyx", line 36, in cupy.util.memoize.decorator.ret (cupy/util.cpp:1194)
File "cupy/core/reduction.pxi", line 181, in cupy.core.core._get_simple_reduction_function (cupy/core/core.cpp:42698)
File "cupy/core/reduction.pxi", line 108, in cupy.core.core._get_simple_reduction_kernel (cupy/core/core.cpp:40479)
File "cupy/core/carray.pxi", line 87, in cupy.core.core.compile_with_cache (cupy/core/core.cpp:26123)
File "/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py", line 112, in compile_with_cache
base = _empty_file_preprocess_cache[env] = preprocess('', options)
File "/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py", line 75, in preprocess
pp_src = _run_nvcc(cmd, root_dir)
File "/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py", line 37, in _run_nvcc
return subprocess.check_output(cmd, cwd=cwd)
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['nvcc', '--preprocess', '/var/tmp/tmphEoIKW/kern.cu']' returned non-zero exit status 1

`

Please help..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant