【发布时间】:2016-09-17 18:22:35
【问题描述】:
我在使用 keras 的时候发现了一些奇怪的问题。 我的系统是ubuntu 14.04/64bit
theano 后端错误信息:
Using Theano backend.
Using gpu device 0: Tesla K20Xm (CNMeM is enabled with initial size: 80.0% of memory, cuDNN not available)
Train on 1000 samples, validate on 100 samples
Epoch 1/5
Floating point exception (core dumped)
tensorflow 支持的错误信息:
F tensorflow/stream_executor/cuda/cuda_driver.cc:316] current context was not created by the StreamExecutor cuda_driver API: 0x2420480; a CUDA runtime call was likely performed without using a StreamExecutor context
当我使用theano运行CNN和tensowflow运行LSTM时就可以了。 但是当我用theano跑LSTM或者用tensorflow跑CNN的时候,报错了。
而且它通常是一些程序加载 80% 的 gpu 内存并且从未真正运行过。或者有时CPU结果的结果相差很大。(CPU结果是正确的)
【问题讨论】:
标签: tensorflow deep-learning theano keras