tensorflow构建-CPU / MKL / Windows [英] tensorflow build - CPU / MKL / Windows

查看:353
本文介绍了tensorflow构建-CPU / MKL / Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以使用以下配置成功构建tensorflow python wheel:

Has anyone succeeded to build tensorflow python wheel with the following configuration:


  1. CPU (不是GPU)

  2. 操作系统: Windows 7 /服务器2012

  3. 使用Intel MKL 和/或mkl -dnn

  4. Python 3.6

  1. CPU (not GPU)
  2. OS: Windows 7 / server 2012
  3. Using Intel MKL and/or mkl-dnn
  4. Python 3.6

我为之奋斗

想知道某人是否成功并愿意分享他的所作所为

谢谢,说谎者

推荐答案

解决方案:1

通常不支持在Windows上从源代码安装TensorFlow。但是您可以尝试使用bazel或tensorflow cmake构建来构建它。
参考: https://www.tensorflow.org/install/install_sources

Installing TensorFlow from Source on windows is not generally supported. But you can try building this using bazel or tensorflow cmake build. Refer: https://www.tensorflow.org/install/install_sources

解决方案:2

创建如下所示的英特尔优化conda环境:

Create Intel optimized conda environment as below:

conda create -n tf -c intel python = 3.6

要安装Tensorflow:

To install tensorflow:

conda install -c intel tensorflow

这将安装tensorflow版本1.2.1与MKL。
这可能有帮助。

This will install tensorflow version 1.2.1 with mkl. This might help.

先决条件:在Windows计算机上安装Anaconda。

Prerequisites: Install Anaconda on your windows machine.

这篇关于tensorflow构建-CPU / MKL / Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆