Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
尝试使用屏蔽输入对 LSTM Seq2Seq 执行推理时出现 CUDNN_STATUS_BAD_PARAM
我正在使用 keras 层tensorflow 2 0建立一个简单的基于 LSTM 的 Seq2Seq 文本生成模型 versions我正在使用 Python 3 6 9 Tensorflow 2 0 0 CUDA 10 0 CUDNN 7
python
tensorflow
LSTM
tensorflow20
tfkeras
Tensorflow pad序列特征列
如何在特征列中填充序列以及什么是dimension in the feature column 我在用Tensorflow 2 0并实现文本摘要的示例 对于机器学习 深度学习和 TensorFlow 来说还很陌生 我碰到feature co
python
tensorflow
machinelearning
deeplearning
tensorflow20
如何在 Tensorflow 2.0 中应用 Guided BackProp?
我从Tensorflow 2 0并尝试实现 Guided BackProp 来显示显着性图 我首先计算之间的损失y pred and y true图像的梯度 然后找到由于这种损失而导致的所有层的梯度 with tf GradientTape
python
tensorflow
Keras
backpropagation
tensorflow20
TensorFlow v2:替换 tf.contrib.predictor.from_saved_model
到目前为止 我正在使用tf contrib predictor from saved model加载一个SavedModel tf estimator模型类 然而 不幸的是这个函数在 TensorFlow v2 中被删除了 到目前为止 在
python
tensorflow
tensorflowserving
tensorflow20
tensorflowestimator
TensorFlow 2.5.0 与 NumPy 1.21+ 不兼容? (2021-10-05)
对于所有偶然发现这一点的人 我最近正在做图像分类 将 CNN 拟合到一些标记数据上 我想使用 keras 的模块进行数据增强 但是 我遇到了 NotImplementedError 更具体地说 它逐字地说如下 NotImplementedE
python3x
NumPy
tensorflow20
GradienTape 收敛速度比 Keras.model.fit 慢得多
我目前正在努力掌握TF2 0api 但正如我比较的渐变带 https www tensorflow org tutorials quickstart advanced到一个常规的keras 模型 fit我注意到 它运行速度较慢 可能是由于急
python
tensorflow
Keras
tensorflow20
如何安装最新版本的 TensorFlow 2?
我想知道为什么我无法安装TensorFlow 2 0 0 到目前为止稳定版本在他们的官方网站上 https www tensorflow org versions even in PyPi https pypi org project te
python
tensorflow
pip
ubuntu1604
tensorflow20
使用什么机器实例在 Google Cloud Platform 中运行 GPU 工作负载 [关闭]
Closed 这个问题是基于意见的 help closed questions 目前不接受答案 我正在尝试运行 Elasticsearch BERT 应用程序 并想了解使用 GPU 微调模型的最小配置 我应该使用什么机器配置 参考githu
googlecloudplatform
NLP
Pytorch
tensorflow20
如何在 tf.keras 中创建具有多个输出的回归模型?
我正在尝试训练回归模型来预测音乐的属性 例如 BPM 该模型接收 256x128px png 文件的音频片段频谱图 并输出几个连续值 到目前为止 我有以下代码是我基于以下代码开发的本指南 https www tensorflow org a
python
tensorflow
Keras
tensorflow20
tfkeras
无法理解tensorflow keras层中“build”方法的行为(tf.keras.layers.Layer)
张量流keras中的层有一个方法build它用于将权重创建推迟到您了解输入内容的时间 图层的构建方法 https www tensorflow org api docs python tf keras layers Layer build
tensorflow
Keras
tensorflow20
keraslayer
tfkeras
将 PNG 文件加载到 TensorFlow 中
我正在尝试加载我生成的定制 png 文件来训练我的模型 遵循 TensorFlow 指南的说明here https www tensorflow org guide data 我使用了这段代码 import tensorflow as tf
python
tensorflow
tensorflow20
tensorflowdatasets
如何解决tensorflow.python.framework.errors_impl.InvalidArgumentError?
import tensorflow as tf import numpy as np from sklearn model selection import train test split np random seed 4213 data
python
tensorflow
tensorflow20
错误:目录“.”无法安装。找不到“setup.py”和“pyproject.toml”
我正在尝试运行下面的文件https colab research google com github tensorflow models blob master research object detection colab tutoria
googlecolaboratory
tensorflow20
objectdetectionapi
TensorFlow 2.0:如何更新张量?
在 TensorFlow 1 x 中 要更新张量 我会使用tf scatter update 仅更新张量的相关部分 我们如何在 TF 2 0 中做同样的事情 您可以使用tf tensor scatter nd update https ww
python
tensorflow
tensorflow20
Tensorflow:如何提取用于绘图的attention_scores?
如果 Keras 中有一个 MultiHeadAttention 层 那么它可以返回注意力分数 如下所示 x attention scores MultiHeadAttention 1 10 10 x return attention sc
python
tensorflow
machinelearning
Keras
tensorflow20
如何使用tensorflow 2.0将图形写入tensorboard?
我正在做这个 eager on tf summary trace on graph True profiler True tf summary trace export stuff step 1 profiler outdir output
tensorflow
tensorboard
tensorflow20
使用 sklearn 通过 Keras 数据生成器绘制混淆矩阵
Sklearn 明确定义了如何使用自己的分类模型绘制混淆矩阵plot confusion matrix https scikit learn org stable auto examples model selection plot con
python
Keras
scikitlearn
tensorflow20
Keras 中的自定义损失函数应该为批次返回单个损失值,还是为训练批次中的每个样本返回一系列损失?
我正在学习tensorflow 2 3 中的keras API 在这个guide https www tensorflow org guide keras train and evaluate custom losses在tensorflo
tensorflow
machinelearning
Keras
tensorflow20
lossfunction
TensorFlow Lite 无法识别操作 VarHandleOp
我正在尝试将 TF 模型转换为 TFLite 模型保存在 pb格式 我已使用以下代码对其进行了转换 import os import tensorflow as tf from tensorflow core protobuf import
python
tensorflow
tensorflow20
TensorFlowLite
Tensorflow 2.0:无法导入 tf.keras.utils.conv_utils
我在用着张量流 v2 1 0这是从源代码编译的 我如何导入任何函数conv utils模块 例如 convert data format conv output length normalize tuple etc 我想创建自己的卷积 池化
python
Keras
tensorflow20
«
1
2
3
4
5
6
7
»