
[英]Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
我最近安装了 tensorflow(Windows CPU 版本)并收到以下消息: 成功安装tensorflow-1.4.0 tensorflow-tensorboard-0.4.0rc2 然后当我试图跑 import tensorflow as tf hello = tf.constan ...
[英]Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
我最近安装了 tensorflow(Windows CPU 版本)并收到以下消息: 成功安装tensorflow-1.4.0 tensorflow-tensorboard-0.4.0rc2 然后当我试图跑 import tensorflow as tf hello = tf.constan ...
[英]TensorFlow not found using pip
我正在尝试使用 pip 安装 TensorFlow:$ pip install tensorflow --user Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (f ...
[英]How to save/restore a model after training?
在 Tensorflow 中训练模型后: 你如何保存训练好的模型? 你以后如何恢复这个保存的模型? ...
[英]What are logits? What is the difference between softmax and softmax_cross_entropy_with_logits?
在tensorflow API 文档中,他们使用了一个名为logits的关键字。 它是什么? 很多方法都是这样写的: 如果logits只是一个通用的Tensor输入,为什么它被命名为logits ? 其次,以下两种方法有什么区别? 我知道tf.nn.softmax做什么,但不知道另一个。 ...
[英]What is the difference between 'SAME' and 'VALID' padding in tf.nn.max_pool of tensorflow?
tf.nn.max_pool的tensorflow中的“SAME”和“VALID”填充有什么区别? 在我看来,“有效”意味着当我们做最大池时,边缘之外不会有零填充。 根据深度学习卷积算法指南,它说池运算符中不会有填充,即只使用tensorflow的“VALID”。 但是张量流中最大池的“相同” ...
[英]How to tell if tensorflow is using gpu acceleration from inside python shell?
我在我的Ubuntu 16.04安装tensorflow使用第二个答案在这里与Ubuntu的内置CUDA容易安装。 现在我的问题是如何测试 tensorflow 是否真的在使用 gpu? 我有一个 gtx 960m gpu。 当我import tensorflow这是输出 这个输出是否足以检查 ...
[英]How to find which version of TensorFlow is installed in my system?
我需要找到我安装了哪个版本的 TensorFlow。 我正在使用 Ubuntu 16.04 长期支持。 ...
[英]How to prevent tensorflow from allocating the totality of a GPU memory?
我在一个计算资源共享的环境中工作,即我们有几台服务器机器,每台机器都配备了一些 Nvidia Titan X GPU。 对于中小型模型,Titan X 的 12 GB 通常足以让 2-3 人在同一个 GPU 上同时运行训练。 如果模型足够小,以至于单个 model 不能充分利用 GPU 的所有计算 ...
[英]Could not find a version that satisfies the requirement tensorflow
我安装了最新版Python (3.6.4 64-bit)和最新版PyCharm (2017.3.3 64-bit) 。 然后我在 PyCharm 中安装了一些模块(Numpy、Pandas 等),但是当我尝试安装 Tensorflow 时它没有安装,我收到错误消息: 找不到满足要求的版本 Tens ...
[英]Disable Tensorflow debugging information
通过调试信息,我的意思是 TensorFlow 在我的终端中显示的关于加载的库和找到的设备等,而不是 Python 错误。 ...
[英]What's the difference between tf.placeholder and tf.Variable?
我是 TensorFlow 的新手。 我对tf.placeholder和tf.Variable之间的区别感到困惑。 在我看来, tf.placeholder用于输入数据, tf.Variable用于存储数据的状态。 这就是我所知道的。 有人可以更详细地向我解释他们的差异吗? 特别是,何时使用tf. ...
[英]Convert a tensor to numpy array in Tensorflow?
使用 Tensorflow 和 Python 绑定时,如何将张量转换为 numpy 数组? ...
[英]How to compile Tensorflow with SSE4.2 and AVX instructions?
这是从运行脚本以检查 Tensorflow 是否正常工作时收到的消息: 我注意到它提到了 SSE4.2 和 AVX, 什么是 SSE4.2 和 AVX? 这些 SSE4.2 和 AVX 如何改进 Tensorflow 任务的 CPU 计算。 如何使用这两个库使 Tensorflow ...
[英]How to print the value of a Tensor object in TensorFlow?
我一直在使用 TensorFlow 中矩阵乘法的介绍性示例。 当我打印产品时,它将它显示为一个Tensor对象: 但是我怎么知道product的价值呢? 以下没有帮助: 我知道图形在Sessions运行,但是没有任何方法可以检查Tensor对象的输出而不在session运行图形吗? ...
[英]What's the difference of name scope and a variable scope in tensorflow?
这些功能之间有什么区别? tf.variable_op_scope(values, name, default_name, initializer=None) 返回用于定义创建变量的操作的上下文管理器。 这个上下文管理器验证给定的值来自同一个图,确保该图是默认图,并推送名称范围和变量范围。 ...
[英]Which TensorFlow and CUDA version combinations are compatible?
我注意到一些较新的 TensorFlow 版本与较旧的 CUDA 和 cuDNN 版本不兼容。 是否存在兼容版本的概述或什至官方测试组合的列表? 我在 TensorFlow 文档中找不到它。 ...
[英]Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
我有 windows 10。我已经完成安装 Tensorflow。它可以工作。 它说“你好 Tensorflow。”:但它前面有所有这些: 当我在 cmb 中键入pip3 install --upgrade tensorflow-gpu时,管理和正常我得到这个: 请帮帮我。 不是计算机科学家或工程 ...
[英]How to get current available GPUs in tensorflow?
我计划使用分布式 TensorFlow,我看到 TensorFlow 可以使用 GPU 进行训练和测试。 在集群环境中,每台机器可以有 0 个或 1 个或更多 GPU,我想在尽可能多的机器上将我的 TensorFlow 图运行到 GPU 中。 我发现当运行tf.Session() TensorFl ...
[英]Keras, How to get the output of each layer?
我用 CNN 训练了一个二进制分类 model,这是我的代码 在这里,我想得到每一层的 output 就像 TensorFlow,我该怎么做? ...
[英]In TensorFlow, what is the difference between Session.run() and Tensor.eval()?
TensorFlow 有两种方法来评估图的一部分: Session.run在变量列表上和Tensor.eval 。 这两者有区别吗? ...