InvalidArgumentError (see above for traceback): Cannot assign a device for operation ‘gradients/aux_loss/xentropy_grad/LogSoftmax’: Could not satisfy explicit device specification ‘/device0’ because no supported kernel for GPU devices is **ailable. [[Node: gradients/aux_loss/xentropy_grad/LogSoftmax = LogSoftmaxT=DT_FLOAT, _device=”/device0”]]
在学习chapter_3 运行train_image_classifier.py时出现: InvalidArgumentError (see above for traceback): Cannot assign a device for operation ‘gradients/aux_loss/xentropy_grad/LogSoftmax’: Could not satisfy explicit device specification ‘/device0’ because no supported kernel for GPU devices is **ailable. Registered kernels: device=’CPU’; T in [DT_HALF] device=’CPU’; T in [DT_FLOAT] device=’CPU’; T in [DT_DOUBLE]
InvalidArgumentError (see above for traceback): Cannot assign a device for operation ‘gradients/aux_loss/xentropy_grad/LogSoftmax’: Could not satisfy explicit device specification ‘/device
0’ because no supported kernel for GPU devices is **ailable.
0”]]
[[Node: gradients/aux_loss/xentropy_grad/LogSoftmax = LogSoftmaxT=DT_FLOAT, _device=”/device
在学习chapter_3 运行train_image_classifier.py时出现:
0’ because no supported kernel for GPU devices is **ailable.
InvalidArgumentError (see above for traceback): Cannot assign a device for operation ‘gradients/aux_loss/xentropy_grad/LogSoftmax’: Could not satisfy explicit device specification ‘/device
Registered kernels:
device=’CPU’; T in [DT_HALF]
device=’CPU’; T in [DT_FLOAT]
device=’CPU’; T in [DT_DOUBLE]
我已经安装了CUDA,CUDNN,tf-gpu了,简单测试也可以运行
import tensorflow as tf
hi=tf.constant(‘hello’)
with tf.Session() as sess:
print(sess.run(hi))
但按照书中的代码提示如上,怎么解决啊。。。
第三章运行python data_convert.py -t pic/ \出错怎么解决?
data_convert.py: error: unrecognized arguments: \
第15章的时间序列的训练程序运行会出现Integer parameter eexcepted so float 的错误,要怎么办
第七章预训练模型没有啊,下载里面也没有,是我没找到吗,求解