Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
张量流可以扫描并只保留最终结果吗?
以下代码计算数组的总和tf scan 张量流会分配一个 6 元素数组来保存六个部分和吗 或者 tensorflow 足够聪明 只分配一个 1 元素数组来保存部分和 如何确定 import tensorflow as tf import nu
python
tensorflow
Tensorflow:如何编码和读取bmp图像?
我正在尝试读取 bmp 图像 对这些图像进行一些增强 将它们保存到 tfrecords 文件中 然后打开 tfrecords 文件并使用这些图像进行图像分类 我知道有一个 tf image encode jpeg 和一个 tf image
python
image
tensorflow
bmp
非法指令:运行任何 Tensorflow 程序时出现 4 错误
我正在尝试训练 Tensorflow 卷积神经网络 无论我运行程序的环境如何 我总是会收到一个神秘的错误 在 Jupyter Notebook 中 内核会直接死掉 在终端中 我得到 非法指令 4 没有回溯 在 Pycharm 中 我得到 进
python
tensorflow
pycharm
jupyternotebook
convneuralnetwork
经过一段时间的训练后,训练损失值正在增加,但模型检测物体的效果相当好
我在训练 CNN 从我自己的数据集中检测对象时遇到了一个奇怪的问题 我正在使用迁移学习 并且在训练开始时 损失值正在下降 如预期 但过了一段时间 它变得越来越高 我不知道为什么会发生这种情况 与此同时 当我看着Images使用 Tensor
tensorflow
objectdetection
lossfunction
调用 eval 两次时,数据集会重新复制到 GPU(导致内存不足)
这是我的一堆代码 I train a model save it and then clear all with del model tf keras backend clear session gc collect print f mem
tensorflow
GPU
OutOfMemory
如何在 Tensorflow 中将变量重用设置回 False?
在Tensorflow中 我们可以将变量重用设置为True with tf get variable scope reuse variables 有什么方法可以在不离开范围的情况下将其设置回 False 吗 这不可能 在共享变量的教程中 他
tensorflow
无法在 Windows 10 上导入 GPU 的 Tensorflow
尝试在我的计算机上安装 GPU 版本的 Tensorflow 但在尝试 导入 Tensorflow 时出现此错误 ImportError Traceback 最近调用 最后的 C Users snh5 000 Anaconda3 lib s
python
dll
tensorflow
tf.contrib.layers.embed_sequence() 的用途是什么?
I found tf contrib layers embed sequence 最新的功能Tensorflow示例 但它不包含在主要 API 中 我不知道为什么 任何有关其工作原理的解释将不胜感激 我可以想到两个主要原因tensorflo
tensorflow
deeplearning
如何在Tensorflow中将字符串张量转换为Python字符串?
以下代码是批量数据提供程序 mat文件 但运行时出现以下问题 TypeError expected str bytes or os PathLike object not FIFOQueue 代码是 import numpy as np i
tensorflow
使用 TensorFlow Benchmark 对 Keras 模型进行基准测试
我正在尝试使用 TensorFlow 后端对 Keras 模型构建的推理阶段的性能进行基准测试 我当时想的是张量流基准测试工具是正确的方法 我已经成功地在桌面上构建并运行了示例tensorflow inception graph pb一切似
tensorflow
Keras
如何在张量流中表达这个自定义损失函数?
我有一个可以满足我的需求的损失函数 但仅在 PyTorch 中 我需要将它实现到我的 TensorFlow 代码中 但是虽然其中大部分都可以轻松地 翻译 但我却陷入了特定的行 y hat torch arange N torch arang
python
tensorflow
machinelearning
Keras
Pytorch
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
«
1 ...
93
94
95
96
97
98
99
100
»