diff --git a/TensorFlow/contrib/cv/DeepMatchVO_ID2363_for_TensorFlow/deep_slam.py b/TensorFlow/contrib/cv/DeepMatchVO_ID2363_for_TensorFlow/deep_slam.py index 3260a2355161d9c571ff886cef2327b99d362e76..ae97fae690ea683e3034fe1f7475b2bbebf25044 100644 --- a/TensorFlow/contrib/cv/DeepMatchVO_ID2363_for_TensorFlow/deep_slam.py +++ b/TensorFlow/contrib/cv/DeepMatchVO_ID2363_for_TensorFlow/deep_slam.py @@ -190,7 +190,7 @@ class DeepSlam(object): smooth_loss + opt.pose_weight * pose_loss + opt.match_weight * match_loss with tf.name_scope("train_op"): - ''' + # lossscale train_vars = [var for var in tf.trainable_variables()] optt = tf.train.AdamOptimizer(opt.learning_rate, opt.beta1) @@ -200,7 +200,7 @@ class DeepSlam(object): self.train_op = slim.learning.create_train_op(total_loss, optim) self.global_step = tf.Variable(0, name='global_step', trainable=False) self.incr_global_step = tf.assign(self.global_step, self.global_step+1) - ''' + # yuanshi train_vars = [var for var in tf.trainable_variables()]