Skip to content

KallerLong1/Tensorflow-windows-dll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tensorflow-r1.2-windows-dll

Since tensorflow project only support CPU version dll,

I compiled tensorflow-r1.2 GPU version using CMake,VisualStudio 2015, CUDA8.0, cudnn5.1.

(tutorial would be updated in a few days)

中文版tensorflow.dll使用教程

准备工作

  • 安装VisualStudio Community 2015 安装NVIDIA CUDA 8.0

  • git clone https://github.com/BowieHsu/Tensorflow-windows-dll

  • 下载tensorflow.dll,放置在Tensorflow-windows-dll/bin目录下

  • 下载tensorflow.lib、libprotobuf.lib,放置在Tensorflow-windows-dll/extra/tensorflow-r1.2/目录下

  • 下载inception_v3.pb,放置在Tensorflow-windows-dll/data目录下

  • 打开Tensorflow-windows-dll/build/vc14目录下的visual studio Solution 'tensorflow_classification', 将编译选项为 'Release' 'x64'

How to use tensorflow.dll

  • Install VisualStudio Community2015 Install NVIDIA CUDA 8.0

  • git clone https://github.com/BowieHsu/Tensorflow-windows-dll

  • Download tensorflow.dll, place it under Tensorflow-windows-dll/bin

  • Download tensorflow.lib and libprotobuf.lib, place theme under Tensorflow-windows-dll/extra/tensorflow-r1.2/

  • Download inception_v3.pb, place it under Tensorflow-windows-dll/data

  • Open Visual Studio Solution "tensorflow_classification.sln" which should be under Tensorflw-windows-dll/build/vc14,Solution configurations option choose "Release", Soluton Platform option choose "x64"

About

Compiled tensorflow.lib and tensorflow.dll on windows 7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 74.8%
  • Python 24.3%
  • C 0.4%
  • Objective-C++ 0.2%
  • Shell 0.1%
  • CMake 0.1%
  • Other 0.1%