腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(84)
视频
沙龙
1
回答
Tensorflow :如果一个LSTM被“重用”于新的输入,它的隐藏状态会被重置吗?在一次向前传球中
tensorflow
、
rnn
如果我在图中使用
scope.reuse_variables
(),我知道权重被重用于新的输入X…谢谢!
浏览 18
提问于2017-07-06
得票数 2
1
回答
在Tensorflow中重用大型脱队列变量
python
、
tensorflow
我有一个很大的张量(大约几百兆字节),这个张量是不排队的。big_queue = tf.FIFOQueue(10, [tf.float64]) large = big_queue.dequeue() with tf.Session() as S
浏览 2
提问于2016-09-03
得票数 1
1
回答
无法使用除tf.train.GradientDescentOptimiser()以外的任何训练优化器
tensorflow
tf.get_variable('bias-2',(1,len(self.vocab)),tf.float32,init)
scope.reuse_variables
浏览 2
提问于2017-06-27
得票数 1
回答已采纳
1
回答
tensorflow复制rnn中的变量
tensorflow
与此相关:lstm_decode = tf.nn.rnn_cell(...)... do training by back-prop the error on trainint_output ... lstm_decode_copy = copy(lstm_decode) ... do beam s
浏览 0
提问于2016-02-27
得票数 0
1
回答
Tensorflow没有重用作用域中的变量
tensorflow
y=None, reuse=False): if reuse: with tf.variable_scope("discriminator") as scope:
scope.reuse_variables
False): with tf
浏览 9
提问于2019-05-11
得票数 0
回答已采纳
1
回答
使用ValueError创建暹罗网络时的TensorFlow
tensorflow
、
deep-learning
= tf.contrib.layers.fully_connected(question1_outputs[:, -1], 1, activation_fn=tf.sigmoid)
scope.reuse_variables
浏览 0
提问于2017-05-02
得票数 0
2
回答
Tensorflow变量重用
python
、
variables
、
tensorflow
LSTM_Model(rnn_size, batch_size, learning_rate,
scope.reuse_variables
浏览 4
提问于2017-07-23
得票数 4
1
回答
tensorflow中的Keras模型
tensorflow
、
deep-learning
、
keras
我正在建立tensorflow的图像处理网络,我想利用纹理丢失。纹理丢失似乎很容易实现,如果你有预先训练的模型加载。问题是:我有两个TF张量目标和我的主要模型的结果,如何将它们输入同一会话中的keras VGG19来计算它们的差异,并将其用于我的模型的主要损失?
浏览 0
提问于2017-10-17
得票数 0
回答已采纳
1
回答
如何在TensorFlow中共享两个独立输入的LSTM单元?
tensorflow
、
neural-network
with tf.variable_scope('lstmnets') as scope:
scope.reuse_variables
浏览 14
提问于2017-06-28
得票数 1
回答已采纳
1
回答
如何在tensorflow中定义模型?
tensorflow
、
model
train_prediction = tf.nn.softmax(logits=logits)
scope.reuse_variables
浏览 9
提问于2017-08-25
得票数 0
回答已采纳
1
回答
tensorflow中的变量命名
tensorflow
我是tensorflow的新手。也许这是一个愚蠢的问题。我再次设置了相同的东西a = tf.Variable([1,2], name = 'a')。然后,它将a.name指定为带有后缀_1的a_1:0。例如, ... some process to k
浏览 0
提问于2018-02-11
得票数 0
2
回答
tensorflow嵌入在第一个RNN示例之后不存在
python
、
tensorflow
for t, e in enumerate(inputs_drop): if t > 0: # This instructs gen_model to reuse the same variables as the model above
scope.reuse_variables
浏览 2
提问于2016-12-20
得票数 2
回答已采纳
2
回答
如何在Tensorflow中输入不同输入的不同RNN单元之间共享权重?
tensorflow
、
deep-learning
、
recurrent-neural-network
我很好奇是否有一种好的方法可以在不同的RNN细胞之间共享权重,同时仍然为每个细胞提供不同的输入。 这里有三个橙色的LSTM单元,它们是并行运行的,我想在它们之间共享权重。我在Windows7的Anaconda环境中使用Tensorflow 1.2和python 3.5。def ann_model(cls,data, act=tf.nn.rel
浏览 16
提问于2017-06-27
得票数 4
回答已采纳
2
回答
当在variable_scope下引入优化器变量被重新创建两次时,为什么?
machine-learning
、
neural-network
、
tensorflow
、
tensorboard
trainable=False, name='global_step')
scope.reuse_variables
浏览 0
提问于2016-09-30
得票数 0
1
回答
教程中RNN示例代码中的“可变权重已经存在”
python
、
machine-learning
、
tensorflow
、
lstm
、
recurrent-neural-network
我想从重新实现re循环,但是它对我不起作用。当重用设置为True时,我得到“变量测试/basic_lstm_cell/权重已经存在”而没有重用和“变量测试/basic_lstm_cell/权重不存在”。batch_size = 32lstm_size = 10words = tf.transpose(words, [1, 0, 2]) words = tf
浏览 1
提问于2017-03-24
得票数 1
回答已采纳
1
回答
为什么rnn和dynamic_rnn的结果在tensorflow中表现出不修正性?
tensorflow
import numpy as npfrom tensorflow.python.ops import rnn, rnn_cell x = tf.reshape(x0, [-1,
浏览 4
提问于2016-10-05
得票数 0
回答已采纳
1
回答
尝试重用模型权重时,`
scope.reuse_variables
()`不起作用
tensorflow
tf.variable_scope("model") as scope:
scope.reuse_variables
21 logits = my_cnn(images, num_classes=dataset.num_classes, is_training=True) 22
scope.reuse_variables
浏览 47
提问于2018-02-28
得票数 0
1
回答
Tensorflow:运行时测试指标和数据队列
python
、
tensorflow
我想计算和显示测试集的准确性,而网络正在培训。但是,在使用队列进行批处理时,我无法找到这样简单的示例。AFAICS文件提出了两种解决方案:
浏览 1
提问于2016-12-28
得票数 0
回答已采纳
2
回答
TensorFlow:如何为tf.get_variable命名操作
python
、
tensorflow
.:
scope.reuse_variables
() ...: b = tf.maximum(
浏览 2
提问于2016-08-28
得票数 2
回答已采纳
1
回答
TensorFlow:用不同的输入张量重新运行网络?
tensorflow
假设我在TensorFlow中有一个典型的CNN模型。 # images: 4D tensor of [batch_size, IMAGE_SIZE, IMAGE_SIZE, 3] size. pool_2 = pooling_layer(conv_1, 2, 2) pool_4 = pooling_layer(conv_3, 2, 2)
浏览 4
提问于2016-03-23
得票数 4
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券