tensorflow中mnist在:D:\Anaconda3\Lib\site-packages\tensorflow\examples\tutorials\mnist
cmd在此目錄下運(yùn)行:
python mnist_with_summaries.py
結(jié)果如下:

出現(xiàn)問(wèn)題:Couldn't open CUDA library cupti64_80.dll tensorflow在執(zhí)行mnist訓(xùn)練的時(shí)候出現(xiàn)以下錯(cuò)誤:
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復(fù)制到下圖文件夾
