Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何在google colaboratory上使用GPU升级tensorflow
目前google colaboratory使用tensorflow 1 4 1 我想升级到1 5 0版本 每次当我执行时 pip install upgrade tensorflow命令 notebook实例成功将tensorflow版本升
python
tensorflow
googlecolaboratory
Tensorflow“feed_dict”:对键值对使用相同的符号得到“TypeError:无法将 feed_dict 键解释为张量”
我正在使用构建线性回归的 Tensorflow 示例 我的代码如下 import numpy as np import tensorflow as tf train X np asarray 3 3 4 4 5 5 6 71 6 93 4
python
tensorflow
TensorFlow 运算符重载
有什么区别 tf add x y and x y 在 TensorFlow 中 当您使用以下命令构建图表时 您的计算图表会有什么不同 代替tf add 更一般地说 有 或者其他张量超载的操作 如果至少有一个x or y is a tf Te
python
machinelearning
tensorflow
窗口多维 Tensorflow 数据集
我有形状的二维数据m by n我想要的窗口大小w沿着第一个轴进入数据集m w许多二维数组 每个数组的大小w by n 例如如果数据是 0 1 2 3 4 5 6 7 8 9 10 11 然后我想将其窗口化 0 1 2 3 4 5 6 7 8
python
tensorflow
tensorflow20
tensorflowdatasets
提交用于 Tensorflow 对象检测的 Google Cloud ML 训练作业时出现错误消息
尝试提交 Tensorflow 对象检测任务的 Google Cloud ML 训练作业 我正在遵循官方指南 https github com tensorflow models blob master research object de
tensorflow
googlecloudml
Tensorflow 中使用 Adam Optimizer 时损失突然增加
I am using a CNN for a regression task I use Tensorflow and the optimizer is Adam The network seems to converge perfectl
tensorflow
neuralnetwork
Regression
convneuralnetwork
TensorFlow:使用不同的输入张量重新运行网络?
假设我在 TensorFlow 中有一个典型的 CNN 模型 def inference images images 4D tensor of batch size IMAGE SIZE IMAGE SIZE 3 size conv 1 c
tensorflow
卷积神经网络 (CNN) 输入形状
我是 CNN 的新手 我有一个关于 CNN 的问题 我对 CNN 特别是 Keras 的输入形状有点困惑 我的数据是不同时隙的二维数据 比方说10X10 因此 我有 3D 数据 我将把这些数据输入到我的模型中来预测即将到来的时间段 所以 我
tensorflow
Keras
deeplearning
convneuralnetwork
如何在张量流中使用带有估计器的衰减学习率?
我正在尝试将 LinearClassifier 与具有衰减学习率的 GradientDescentOptimizer 一起使用 My code def main load data features np load data feature
tensorflow
Tensorflow:导入错误:libcudnn.so.7:无法打开共享对象文件:没有这样的文件或目录
我最近使用 pip 安装了tensorflow gpu 但是当我导入它时 出现以下错误 ImportError libcudnn so 7 cannot open shared object file No such file or dir
python
python3x
tensorflow
cuDNN
“你好,TensorFlow!”使用 C API
出于学习目的 如何使用 TensorFlow C API 编写此 Python 示例 import tensorflow as tf hello tf constant hello TensorFlow sess tf Session pr
dll
tensorflow
capi
如何修复 Tensorflow 中的“ValueError:操作数无法与形状 (2592,) (4,) 一起广播”?
我目前正在设计一个 NoisyNet 层 如下所示 探索嘈杂的网络 https arxiv org abs 1706 10295 在 Tensorflow 中并得到如标题所示的维度误差 而两个张量的维度将在行中按元素相乘filtered o
python
python3x
tensorflow
ValueError
Tensorflow:Cuda 计算能力 3.0。所需的最低 Cuda 能力为 3.5
我正在从源安装tensorflow 文档 https www tensorflow org versions r0 10 get started os setup html installing from sources Cuda驱动版本
python
tensorflow
GPU
bazel
在优化器期间保持变量不变
我有一个损失张量 L 的 TensorFlow 计算图 它取决于 2 个 tf Variables A 和 B 我想在保持 B 固定的同时在变量 A 上运行梯度上升 A L 与 A 的梯度 反之亦然 在 B 上运行梯度上升 B L 与 B
tensorflow
PyInstaller 是否包含 CUDA
我正在开发一个Python脚本 我使用Python 3 7 3 它使用tensorflow gpu 1 14 0 并使用PyInstaller 3 5将此脚本转换为可执行文件 我使用的是 CUDA 10 0 和 cuDNN 7 6 1 我的
tensorflow
CUDA
pyinstaller
cuDNN
为什么平均百分比误差(mape)非常高?
我已获得代码掌握机器学习 https machinelearningmastery com time series prediction lstm recurrent neural networks python keras 我修改了mod
python
tensorflow
machinelearning
neuralnetwork
Keras
在 Tensorflow 中使用迁移学习是否需要预定义图像大小?
我打算使用预先训练的模型 例如fast rcnn resnet101 pets用于 Tensorflow 环境中的对象检测 如所述here https tensorflow object detection api tutorial rea
tensorflow
tensorflowdatasets
imagesize
transferlearning
稍微不同的形状会收敛到错误的数字 - 为什么?
我试图弄清楚为什么 TensorFlow 会做一些令人惊讶的事情 我将其归结为一个测试用例 尝试对一个简单的问题进行线性回归 该问题只需将两个输入加在一起 权重收敛到 1 0 偏差收敛到 0 0 正如它们应该的那样 使用此版本的训练输出 t
tensorflow
让 TensorFlow 在 ARM Mac 上使用 GPU
我已经安装了TensorFlow在 M1 上 ARM Mac 根据这些说明 https github com apple tensorflow macos issues 153 一切正常 然而 模型训练正在进行CPU 如何将培训切换到GPU
python
MacOS
tensorflow
deeplearning
arm
Tensorflow:如何通过 tf.gather 传播梯度?
我在尝试传播损失函数相对于代表收集索引的变量的梯度时遇到一些问题 类似于空间变换器网络中所做的事情 https github com tensorflow models blob master transformer spatial tra
tensorflow
«
1
2
3
4
5
6
...100
»