Questions tagged [theano-cuda]

theano-cuda relates to the installation, configuration, and use of the CUDA backend for Theano

144 questions
0
votes
0 answers

Theano-GPU-window7-python3.6-Anaconda3

code: from theano import function, config, shared, tensor import numpy import time #import lasagne vlen = 10 * 30 * 768 # 10 x #cores x # threads per core iters = 1000 rng = numpy.random.RandomState(22) x = shared(numpy.asarray(rng.rand(vlen),…
shiva
  • 29
  • 1
  • 3
0
votes
1 answer

Using Theano and Lasagne with FIPS Enabled

I have the following: Python 2.7.5 RHEL 7.3 with FIPS enabled Lasagne (0.2.dev1) Theano (0.9.0) I installed Theano and Lasange with pip without issue, but when I import lasange I receive an error related to FIPS: $: python Python 2.7.5 (default,…
Daren Eiri
  • 137
  • 12
0
votes
1 answer

libgpuarray Test #10 and #11 fails

Problem I always have used theano normally. WIth CUDA and CUDNN and CNMEM. I have an XTITAN. Actually I ran my code on the university server. Im trying to install libgpuarray but the tests #10 and #11 fails. What should i do…
KenobiBastila
  • 539
  • 4
  • 16
  • 52
0
votes
1 answer

Theano is creating additional threads on devices not specified in configuration

So I have the following situation: computer with 3 graphic cards python script using Keras with Theano backend and multiple threads I specified the device to use in .theanorc as described in the documentation. The python script is of this form…
Fabian N.
  • 3,807
  • 2
  • 23
  • 46
0
votes
0 answers

CUDA is installed, but device gpu is not available (error: cuda unavailable)

I've spent a few days trying to use my GPU with theano in Windows, but I've encountered several problems and after trying everything I've found in Google it still doesn't work. The error I get is the following…
AlexGasconB
  • 165
  • 3
  • 14
0
votes
0 answers

import theano, something wrong about the driver, raise Exception()

My OS is Win10_64, i've installed cuda8.0, and i already have the graphics driver updated but.. when i type in 'import theano', it says: DEBUG: nvcc STDOUT mod.cu building library:…
YJHMITWEB
  • 113
  • 2
  • 7
0
votes
1 answer

Keras with Theano on GPU

While trying to run my Keras code on GPU (CUDA installed), I am not able to execute the following statement, as has been suggested on many online references. set THEANO_FLAGS="mode=FAST_RUN,device=gpu,floatX=float32" & python theanogpu_example.py I…
0
votes
1 answer

If I train a neural network with CUDA do I need to run the outputted algorithm with CUDA?

Let's say I used CUDA to train an object tracking program. Could I then put that program on another computer that didn't have a powerful gpu and run the object tracking program? Or is gpu support required to run the outputted algorithm as well as…
Matt
  • 2,232
  • 8
  • 35
  • 64
0
votes
1 answer

Theano Windows 7 import error

Today I tried to install Theano on W7 x64. I guess I installed it but I also made a mistake in somewhere and I don't know where. I actually want to use it with CUDA. Here is the programs I installed: Anaconda 4.2.0 x64 (Python 2.7.12), TDM…
0
votes
1 answer

Keras, Theano - Cropping2D introduces "Input dimension mis-match" on GPU

I tried to create an autoencoder using keras. (ref: https://blog.keras.io/building-autoencoders-in-keras.html) the following test code works just fine on my mac: import numpy as np from keras.layers import Input, Dense, Convolution2D, MaxPooling2D,…
BearJ
  • 1
  • 1
0
votes
0 answers

freeing GPU memory without sudo priviliges

I use theano for some deep learning experiments. I have killed a 3 weeks running process by ctrl+c, to start a new process. As I see, although I have killed the process, the gpu memory is not released. According to nvidia-smi, the memory is free,…
yusuf
  • 3,591
  • 8
  • 45
  • 86
0
votes
1 answer

Error running theano.test() - ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed

I'm trying to get theano up and running on a Windows 10 (x64) machine. I've installed Python from the WinPython distribution, which comes with theano already running. But after installing CUDA 8.0.44 and MingW, I constantly get the following errors…
Alexander Pacha
  • 9,187
  • 3
  • 68
  • 108
0
votes
1 answer

Theano import error when used with GPU

I have Anaconda Python 2.7.12 installed with numpy 1.11.2 and scipy 0.18.1 versions. I have installed Theano 0.8.2 through conda install. I have added these lines in the .theanorc.txt file: [global] floatX = float32 device =…
Anand C U
  • 885
  • 9
  • 29
0
votes
1 answer

Deep Neural Network Weight's Evaluation

I am using Theano with keras. I have a trained DNN and I have dumped the weight's in a file. I am performing some operations on these weights and again dumping the new converted weights into another file. Now, I am loading my DNN model with these…
blackbug
  • 1,098
  • 3
  • 13
  • 40
0
votes
2 answers

theanorc for multiple GPUs

I have a aws machine with 4 GPUs: 00:03.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K520] (rev a1) 00:04.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K520] (rev a1) 00:05.0 VGA compatible controller: NVIDIA…
sachinruk
  • 9,571
  • 12
  • 55
  • 86