美文网首页我爱编程
build a neural network报错

build a neural network报错

作者: _sunnyRain | 来源:发表于2018-03-31 09:55 被阅读0次

错误:

InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(300, 1), b.shape=(1, 10), m=300, n=10, k=1 [[Node: MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](_arg_Placeholder_0_0/_7, Variable/read)]]

解决:

Try to close interactive sessions active in other processes (if IPython Notebook - just restart kernels). This helped me!

Additionally, I use this code to close local sessions in this kernel during experiments:

if 'session' in locals() and session is not None:

    print('Close interactive session')

    session.close()

---from:TensorFlow: InternalError: Blas SGEMM launch failed - Stack Overflow

相关文章

网友评论

    本文标题:build a neural network报错

    本文链接:https://www.haomeiwen.com/subject/ffqgcftx.html