cmake to compile under win10 tensorflow1.11.0

 Hardware environment: win10 + GPU 1060 6G

Software Environment: cmake 3.14.2 + swigwin-3.0.12 + Anaconda 3.5 + pycharm 2017.2.3 + vs2015

---- start --- (Reference url: https://blog.csdn.net/yz2zcx/article/details/83106669)

1 git tensorflow r1.11.0 source

2 Open cmake 3.14.2, select the source directory and compile path, click Configure

3 swig of error will occur, configure the look

4 Continue Configure, if the GPU error occurs, the configuration cuda version and version cudnn

5, tensorflow configuration options,

6 Click Configuire, successful, click Generate.

7 The project generated a bunch vs file using vs2015 open tensorflow.sln

 

 

 8 Switch Release x64, build, patience to wait ...

 

Guess you like

Origin www.cnblogs.com/dxscode/p/10790771.html