腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
ValueError
:
Tensor
("
ExponentialDecay_4
:
0
",
shape
=(),
dtype
=
float32
)
python
、
tensorflow
、
machine-learning
、
deep-learning
、
nlp
ValueError
:
Tensor
("
ExponentialDecay_4
:
0
",
shape
=(),
dtype
=
float32
) must be from the same graph as
Tensor
(("dnn/hiddenlayer_
0
/kernel/part_
0
:
0
",
shape
=(), <em
浏览 34
提问于2020-01-22
得票数 1
2
回答
层“3 3dcnn”需要1输入,但它收到16 >输入张量。
tensorflow
、
keras
、
deep-learning
收到的投入:<tf.
Tensor
'IteratorGetNext:
0
‘
shape
=(无,208,150,10)
dtype
=
float32
>,<tf.
Tensor
'IteratorGetNext:1’
shape
=(无,208,150,10)
dtype
=
float32
>,<tf.
Tensor
'IteratorGetNext:2‘
shape</e
浏览 5
提问于2022-09-23
得票数 1
1
回答
获取模型的图形
python
、
tensorflow
、
keras
、
tensorflow2.0
如果是,Tensorboard似乎在插图层面上得到了这样的支持。
浏览 11
提问于2022-03-16
得票数 1
1
回答
TF -
ValueError
:这两种结构没有相同数量的元素
python
、
tensorflow
、
optimization
tensorflow/python/util/nest.py", line 222, in assert_same_structure
ValueError
/Identity_1:
0
'
shape
=()
dtype
=
float32
>, [<tf.
Tensor
'while/Identity_2:
0
浏览 5
提问于2020-05-14
得票数 1
回答已采纳
1
回答
警告:tensorflow:序列模型中的层只能有一个输入张量
python
、
tensorflow
、
machine-learning
、
dataset
、
sequential
Received: inputs=(<tf.
Tensor
'IteratorGetNext:
0
'
shape
=(None, 28)
dtype
=
float32
>, <tf.
Tensor
'IteratorGetNext:1'
shape
=(None, 28)
dtype
=
float32
>, <tf.
Tensor
'IteratorGetN
浏览 2
提问于2022-07-31
得票数 1
回答已采纳
1
回答
喀拉斯图断开-但为什么?
python
、
keras
、
keras-layer
、
vgg-net
, 75, 75, 64),
dtype
=
float32
)
Tensor
("block5_conv1/Relu:
0
",
shape
=(?, 9, 9, 512),
dtype
=
float32
浏览 0
提问于2019-05-21
得票数 1
回答已采纳
1
回答
TensorFlow V2.x和tf.keras的随机种子是什么?
tensorflow2.0
、
tensorflow2.x
我只在tf.keras V2.x中使用TensorFlow。我能播下的种子是什么?我只找到了tf.random.set_seed()。还有别的种子吗?
浏览 8
提问于2020-05-26
得票数 1
回答已采纳
1
回答
如何用tensorflow梯度带求解析梯度
python
、
tensorflow
、
tensorflow2.0
、
gradienttape
、
autodiff
假设我们有一些函数y=x^2x = tf.Variable(3.0) y = x**2不管怎样,我能找到tensorflow对我的输入做了什么吗?例如,在这种情况下,很容易找到dy/dx=2x,这是否意味着tensorflow将2乘以我的输入值x,然后返回me 6(即3*2)? 我有一个非常复杂的函数,我不知道如何区分,所以我想从tensorflow梯度磁带中找到洞察
浏览 14
提问于2022-03-01
得票数 2
1
回答
使用张量数组作为输入时TensorFlow 2.9.1 model.predict错误
python
、
tensorflow
、
keras
我想使用来自image_dataset_from_directory.的图像集来测试模型
ValueError
: Layer "model" expects 1 input(Inputs received: [<tf.
Tensor
'IteratorGetNext:
0
'
shape
=(None, 224, 224, 3)
dtype
=
float32
>, <tf.
Tensor
'
浏览 15
提问于2022-08-15
得票数 -1
回答已采纳
1
回答
如何在Tensorflow中解压变尺寸张量?
python
、
tensorflow
我通过占位符输入数据,如下所示:inputs = tf.unstack(input, axis=
0
)显然,这会与
ValueError
: Cannot infer num from
shape
(?如何沿着轴
0
展开input?
浏览 0
提问于2018-04-12
得票数 1
回答已采纳
4
回答
如何将tf.int64转换为tf.float32?
tensorflow
、
int64
我试过:然后出现以下错误:
ValueError
:
Tensor
conversionrequested
dtype
float32
for
Tensor
with
dtype
int64: '
Tensor
("test/ArgMax:
0
",
shape</
浏览 0
提问于2016-02-24
得票数 31
回答已采纳
1
回答
如何获得符号梯度[Tensorflow 2.x]
python
、
tensorflow
、
tensorflow2.0
、
tensorflow2.x
tf.Variable([[1.], [2.]])y, z = f_k(input_data)输出:函数内部 print >> [<tf.
Tensor
'gradients/Sin_grad/mul:
0
'
shape
=(2, 2)
dtype
=
float32
>, <tf.
Tensor
'gradients/MatMul_grad
浏览 9
提问于2022-01-28
得票数 1
回答已采纳
1
回答
使用create_tf_dataset_for_client()定义数据集中的培训示例
python
、
tensorflow
、
tensorflow-datasets
、
tensorflow-federated
、
federated-learning
(),
dtype
=int32, numpy=
0
>, <tf.
Tensor
:
shape
=(),
dtype
=int32, numpy=14>, <tf.
Tensor
:
shape
=(),
dtype
=>, <tf.
Tensor
:
shape
=(),
dtype
=int32, numpy=
0
>, <tf.
Tensor
浏览 8
提问于2022-02-27
得票数 2
回答已采纳
1
回答
在Tensorflow Keras分类器中使用数据集时,model.fit()方法中的"IndexError:列表索引超出范围“
tensorflow
、
tensorflow-datasets
shape
=(),
dtype
=
float32
, numpy=0.0011093982>, <tf.
Tensor
: id=281900,
shape
=(),
dtype
=
float32
, numpy=,
shape
=(),
dtype
=
float32
, numpy=-0.0068962937>, <tf.
Tensor
: id=281903,
shape
=()
浏览 16
提问于2019-07-05
得票数 0
回答已采纳
1
回答
TensorFlow:沿一个特定轴应用卷积
python
、
tensorflow
First structure: type=tuple str=(<tf.
Tensor
:
shape
=(8, 1, 512, 1),
dtype
=
float32
, numpy=array([[omitted]], <
浏览 9
提问于2022-07-28
得票数 1
回答已采纳
1
回答
将数据分解为联邦学习中的训练和测试
python
、
tensorflow
、
tensorflow-datasets
、
tensorflow-federated
dtype
=tf.int32, name=None)), ('y', (TensorSpec(
shape
=(),
dtype
=tf.int32, name=None), TensorSpec(
shape
=(),
dtype
=tf.int32, name=None), TensorSpec(
shape
=(),
dtype
=tf.int32, name=None), TensorSpec(
shape
=(),
dtype
浏览 27
提问于2022-03-03
得票数 2
回答已采纳
1
回答
从Keras中的三维张量中收集二维张量的列表
machine-learning
、
tensorflow
、
nlp
、
keras
我想提取(None,256号)的9个张量for i in range(
0
,9): sub_decoder_input = Lambda(lambda
浏览 3
提问于2017-11-17
得票数 2
回答已采纳
1
回答
Tensorflow中所有
dtype
=
float32
的打印值(权重)
python
、
tensorflow
、
type-conversion
, 2048)
dtype
=
float32
>,)(<tf.
Tensor
'pool_3/_reshape:
0
'
shape
=(1, 2048)
dtype
=
float32<
浏览 3
提问于2017-07-31
得票数 1
1
回答
Tensorflow无法评估梯度
python
、
python-3.x
、
tensorflow
/read:
0
",
shape
=(5, 3),
dtype
=
float32
)', '
Tensor
("Variable_20/read:
0
",
shape
=(3, 2),
dtype
=bool)', '
Tensor
_26/read:
0
",
shape
=(3, 2),
dtype</em
浏览 14
提问于2017-01-19
得票数 1
回答已采纳
1
回答
如何将角化模型与数据集相匹配?
python
、
tensorflow
、
keras
、
dataset
、
tensorflow-datasets
我尝试用一组csv文件来安装我的keras模型(我不想在内存中加载文件并将它们连接起来)。我试图用"tf.data.experimental.make_csv_dataset“构建一个数据集(我认为它的工作方式类似于matlab数据存储?)给我的模型输入"next“和"iter”,但我无法解决输入大小和/或输入类型的问题。我很感谢你的帮助。提前谢谢。from tensorflow import kerasfrom tensor
浏览 4
提问于2022-02-24
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Numpy的一个小知识
tensorflow基础一
Tensorflow从入门到精通(二):附代码实战
TensorFlow RNN Cell源码解析
人工智能学习案例-卷积神经网络
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券