iGAN icon indicating copy to clipboard operation
iGAN copied to clipboard

TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variable None

Open camdirigo opened this issue 7 years ago • 3 comments

I am running iGAN_main.py on Windows 10 with an NVIDIA GeForce GTX 980 with the following command

python iGAN_main.py --model_name outdoor_64

and have added the following lines to iGAN_main.py import os os.environ["THEANO_FLAGS"] = "device=gpu, floatX=float32, nvcc.fastmath=True"

and I receive the following error TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variable None

I have also added these THEANO_FLAGS to the .theanorc file and still receive this error. I have upgraded Theano to 0.9. Can someone please help me with this issue? I am happy to provide whatever further information is needed to solve this issue.

camdirigo avatar May 07 '17 02:05 camdirigo

Have you tried the command suggested by README THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

junyanz avatar Jul 29 '17 03:07 junyanz

i have the same problem with camdirigo. when run THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64
in the terminal . then i recevive the following error 'THEANO_FLAGS' 不是内部或外部命令,也不是可运行的程序或批处理文件。 Can someone please help me with this issue?

linpianshang avatar Aug 15 '17 11:08 linpianshang

Have you tried the command suggested by README THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

I am also facing the same problem. Did you get any solution for this issue?

ABHIJEET-YADAV avatar Oct 17 '18 13:10 ABHIJEET-YADAV