Open genekogan opened 8 years ago
I have exactly same issue. No luck so far :(
I'm struggling with the same error as well, if anyone has been able to resolve this in the meantime since the previous folks posted. :)
Update: I was able to resolve this error by adding the Theano flag cast_policy=numpy+floatX
. The command that worked for me was THEANO_FLAGS='scan.allow_gc=True,device=cuda,floatX=float32,cast_policy=numpy+floatX' python alignDraw.py
. Hope this helps someone else too!
when I python alignDraw.py THEANO_FLAGS='scan.allow_gc=True,device=cuda,floatX=float32,cast_policy=numpy+floatX',
I find there is same problem could you tell me why?
yulin@dlnlp01:~/gan_projects/text2image-master/coco$ python alignDraw.py models/coco-captions-32x32.json THEANO_FLAGS='scan.allow_gc=False,device=cuda,floatX=float32,cast_policy=numpy+floatX'
/home/yulin/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
building gradient function
0:00:13.788787
building train function
Traceback (most recent call last):
File "alignDraw.py", line 628, in
having same issue as described here even after setting floatX=float32. i have cuda 7.0, cudnn installed on ubuntu 14.04. skipthoughts is verified working fine. any idea what the issue could be?