visual studio 2017 只能搭配cuda 9
cuda 8 需要用到 visual studio 2015的runtime
visual studio 2015的runtime跟visual studio 2017無法共存
因此 Tensorflow 1.4 跟 visual studio 2017 無法共存...
所以預計使用Tensorflow 1.5rc1, 但因為是prebuild, 沒有windows版本的
所以要自行從source code安裝
https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake
Pre-requisites
- CMake version 3.5 up to 3.6
- Additional pre-requisites for Microsoft Windows:
- Visual Studio 2015
- Python 3.5
- NumPy 1.11.0 or later
- Additional pre-requisites for Linux:
- Python 2.7 or later
- Docker (for automated testing)
- NumPy 1.11.0 or later
download CMake, Git, SWIG, cuDNN 9.1, cuda9
.... 2018/1/23 編譯失敗,版本匹配問題仍多,暫時放棄等待新版本tensorflow套件
沒有留言:
張貼留言