Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
KeyError:张量变量,引用的张量不存在
Using LSTMCell我训练了一个模型来生成文本 我启动了张量流会话并使用保存所有张量流变量tf global variables initializer import tensorflow as tf sess tf Session
python
tensorflow
LSTM
Tensorflow shuffle batch() 块在纪元结束时
我正在使用 tf train shuffle batch 创建批量输入图像 它包含一个 min after dequeue 参数 该参数确保内部队列中有指定数量的元素 如果没有 则阻止其他所有元素 images label batch tf
python
tensorflow
使用 tfslim 解码 tfrecord
我在 CPU 上使用 Python 2 7 13 和 Tensorflow 1 3 0 我想使用 DensNet https github com pudae tensorflow densenet 来解决回归问题 我的数据包含 60000
tensorflow
tfslim
TFRecord
Keras:下载 Fashion_MNIST 数据时出错
我正在尝试从 Fashion MNIST 下载数据 但出现错误 最初 它正在下载并正常工作 但我不得不终止它 因为我必须关闭计算机 当我再次打开该文件时 它给了我一个错误 我不确定问题是什么 但是否是因为我已经下载过一次数据的某些部分 而
tensorflow
Keras
Tensorflow 1.4 tf.metrics.auc 用于AUC计算
我正在尝试登录AUC during 训练时间我的模型 根据文档 tf metric auc需要一个label and predictions 两者形状相同 但就我的二元分类而言 label is a 一维的张量 仅包含类 和predicti
python
tensorflow
AUC
Tensorflow 对象检测 API `indices[3] = 3 is not in [0, 3)` 错误
我正在重新训练 TF 对象检测 API 的 mobilenet v1 SSD 并且在训练步骤中遇到错误 INFO tensorflow Starting Session INFO tensorflow Saving checkpoint t
python
tensorflow
objectdetectionapi
如何在 Tensorflow 中更新 2D 张量的子集?
我想更新 2D 张量中值为 0 的索引 因此 data 是一个 2D 张量 其第二行第二列索引值将替换为 0 但是 我收到类型错误 有人可以帮我吗 类型错误 ScatterUpdate 操作的输入 ref 需要左值输入 data tf Va
python
neuralnetwork
tensorflow
deeplearning
在哪里可以查看 TensorFlow 梯度下降主循环?
抱歉 如果这听起来有点天真 我想看看里面的肉TensorFlowGradientDescent 的实现 亲自看看它们如何处理终止条件 步长自适应性等 我追踪了代码training ops apply gradient descent但我找不
tensorflow
gradientdescent
TPU本地文件系统不存在?
我写了一个神经网络模型来分析图像并在最后提取 8 个浮点数 该模型在我的计算机上运行良好 但速度缓慢 因此我在 TPU 云上尝试它 然后砰 我有一个错误 I1008 12 58 47 077905 140221679261440 tf lo
tensorflow
filesystems
local
googlecloudtpu
TPU
如何为python 2.7安装tensorflow?
我使用conda在windows 10环境中安装了python 2 7 根据tensorflow的文档 它只支持版本3及以上 有没有办法在保留 python 2 7 版本的同时安装tensorflow TensorFlow 在 Window
python27
tensorflow
从图像本地目录创建tensorflow数据集
我在本地有一个非常庞大的图像数据库 数据分布就像每个文件夹都包含一个类的图像 我想使用tensorflow数据集API来获取批量数据 而无需将所有图像加载到内存中 我尝试过这样的事情 def parse function filename
python
tensorflow
Dataset
使用张量板时,如何总结多个小批量计算的损失?
我想使用 Tensorboard 来可视化验证样本中损失的演变 但验证集太大 无法在一个小批量中进行计算 因此 为了计算我的验证损失 我必须在覆盖验证集的多个小批量上多次调用 session run 然后我将每个小批量的损失 在Python
tensorflow
tensorboard
使用 for 循环迭代数据集 TF 2.0
这个问题是关于如何迭代 TF 数据集 因为make initializable iterator 已弃用 我使用以下函数读取数据集 def read dataset new filename target delay ds tf data
python
tensorflow
tensorflowdatasets
返回边界框的坐标 Google 的对象检测 API
如何使用 Google 对象检测 API 的推理脚本获取生成的边界框的坐标 我知道打印 box 0 i 返回图像中第 i 次检测的预测 但这些返回的数字到底有何含义 有没有办法获得 xmin ymin xmax ymax 提前致谢 Goog
tensorflow
objectdetection
objectdetectionapi
如何在张量流中存储和重建权重字典
训练时 我将权重存储在张量流变量的字典中 我将权重字典与一些数据一起传递给 模型 函数 以获得我想要的输出 训练后 我想将该字典存储在一个文件中 以便我可以重新创建它 这样 我可以通过简单地将权重字典与新数据一起传递到同一模型函数来应用学习
python
Dictionary
tensorflow
Colab+TPU 不支持 TF 2.3.0 tf.keras.layers.experimental.preprocessing
我正在使用更新我的模型TF 2 3 0基于Colab TPUhttps keras io examples vision image classification efficientnet fine tuning 特别是在数据增强和从预训练
tensorflow
googlecolaboratory
tfkeras
TPU
googlecloudtpu
Inception 模型有两个 softmax 输出吗?
Inception v3 模型如下图所示 该图片来自这篇博文 https research googleblog com 2016 03 train your own image classifier with html 看起来有两个Sof
tensorflow
deeplearning
Softmax
张量流:使用 tf.greater 和简单的greater 有什么区别?
我想了解这两个函数之间的区别 就生成的 tf 图而言 def simple relu x if tf greater x 0 return x else return 0 and def simple relu2 x if x gt 0 r
python
tensorflow
使用 keras 在 gcloud ml-engine 上处理 TB 数据的最佳方法
我想使用 gcloud 存储上约 2TB 的图像数据训练模型 我将图像数据保存为单独的 tfrecords 并尝试按照此示例使用张量流数据 api https medium com moritzkrger speeding up keras
tensorflow
Keras
googlecloudml
tensorflowdatasets
TFRecord
ValueError:应在输入列表上调用合并层。张量流 Keras
我目前正在尝试使用 MobileNetV2 的前 50 层 因此 我想提取这些层并创建一个新模型 我以为我可以调用每一层 但是 block 2 add 层会导致错误 我不明白为什么 import tensorflow as tf from
python3x
tensorflow
keraslayer
tfkeras
«
1 ...
91
92
93
94
95
96
97
...100
»