Tensorflow 是否与 Windows 工作流程兼容? [英] Is Tensorflow compatible with a Windows workflow?

查看:36
本文介绍了Tensorflow 是否与 Windows 工作流程兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还没有看到任何关于 Windows 兼容性的信息——如果我付出一些努力,它是在路上还是目前在某个地方可用?(我有一台 Mac 和一个 Ubuntu 机器,但 Windows 机器是我目前与 theano 一起使用的独立显卡).

I haven't seen anything about Windows compatibility -- is this on the way or currently available somewhere if I put forth some effort? (I have a Mac and an Ubuntu box but the Windows machine is the one with the discrete graphics card that I currently use with theano).

推荐答案

2016 年 11 月 28 日更新:今天我们发布了 TensorFlow 0.12 的第一个候选版本,其中包括对 Windows 的支持.您可以在 Python shell 中使用以下命令安装 Python 绑定:

Updated 11/28/2016: Today we released the first release candidate of TensorFlow 0.12, which includes support for Windows. You can install the Python bindings using the following command in a Python shell:

C:\> pip install tensorflow

...或者,如果您需要 GPU 支持:

...or, if you want GPU support:

C:\> pip install tensorflow-gpu

您还可以使用 Microsoft Visual C++ 和 NVCC(用于 CUDA 部分)自己构建 TensorFlow.目前在 Windows 上构建的最简单方法是使用 CMake build,我们将很快就会为 Windows 上的 Bazel 提供支持.

You can also build TensorFlow yourself using Microsoft Visual C++ and NVCC (for the CUDA parts). The easiest way to build on Windows is currently to use the CMake build, and we will soon provide support for Bazel on Windows.

上一个答案:到目前为止,我们还没有尝试在 Windows 上构建 TensorFlow:唯一支持的平台是 Linux (Ubuntu) 和 Mac OS X,我们只为这些平台构建了二进制文件.

Previous answer: We haven't tried to build TensorFlow on Windows so far: the only supported platforms are Linux (Ubuntu) and Mac OS X, and we've only built binaries for those platforms.

目前,在 Windows 上,开始使用 TensorFlow 的最简单方法是使用 Docker:http:///tensorflow.org/get_started/os_setup.md#docker-based_installation

For now, on Windows, the easiest way to get started with TensorFlow would be to use Docker: http://tensorflow.org/get_started/os_setup.md#docker-based_installation

当 Bazel(我们使用的构建系统)添加对在 Windows 上构建的支持时,添加 Windows 支持应该会变得更容易,即 关于 Bazel 0.3 的路线图.您可以在此处查看完整的 Bazel 路线图.

It should become easier to add Windows support when Bazel (the build system we are using) adds support for building on Windows, which is on the roadmap for Bazel 0.3. You can see the full Bazel roadmap here.

同时,您可以在 TensorFlow GitHub 页面上关注第 17 期.

In the meantime, you can follow issue 17 on the TensorFlow GitHub page.

这篇关于Tensorflow 是否与 Windows 工作流程兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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