tensorflow中mnist在:D:\Anaconda3\Lib\site-packages\tensorflow\examples\tutorials\mnist
cmd在此目录下运行:
python mnist_with_summaries.py
结果如下:
出现问题:Couldn't open CUDA library cupti64_80.dll tensorflow在执行mnist训练的时候出现以下错误:
C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\stream_executor[http://dso_loader.cc:141](http://link.zhihu.com/?target=http%3A//dso_loader.cc%3A141)] Couldn't open CUDA library cupti64_80.dll
2018-08-24 16:37:57.004795: FC:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow/stream_executor/lib/statusor.h:212] Non-OK-status: status_ status: Failed precondition: could not dlopen DSO: cupti64_80.dll; dlerror: cupti64_80.dll not found
将上图中cupti64_80.dll复制到下图文件夹