我的Keras模型有密集的层,我需要这些层来访问权重和偏移值。我可以使用get_weights()方法访问它们。它返回权重和偏差的预期大小矩阵(权重为57x50)。model.layers[0].get_weights()[0]init_op = tf.global_variables_initializer()
wi
我试图用Keras实现一个回归序列模型,并且得到了非常奇怪的结果。我的密码在下面。我使用一个tf.data数据集作为我的输入数据集。我的损失最初下降了,但随后开始振荡。会有什么原因吗?Filling up shuffle buffer (this may take a while): 216632 of 1000000
2020-09-03 17:03:01.641093: I tensorflowFilling up shuffle buffer (this may take a wh