Updates
Compare changes
- Tiago de Freitas Pereira authored
@@ -23,7 +23,7 @@ step2_path = os.path.join(directory, "step2")
@@ -23,7 +23,7 @@ step2_path = os.path.join(directory, "step2")
@@ -33,11 +33,11 @@ def base_network(train_data_shuffler, reuse=False, get_embedding=False):
@@ -33,11 +33,11 @@ def base_network(train_data_shuffler, reuse=False, get_embedding=False):
@@ -95,17 +95,11 @@ def test_trainable_variables():
@@ -95,17 +95,11 @@ def test_trainable_variables():
@@ -128,21 +122,22 @@ def test_trainable_variables():
@@ -128,21 +122,22 @@ def test_trainable_variables():
conv1_trained = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')[0].eval(session=trainer.session)[0]
@@ -151,7 +146,6 @@ def test_trainable_variables():
@@ -151,7 +146,6 @@ def test_trainable_variables():
@@ -159,45 +153,18 @@ def test_trainable_variables():
@@ -159,45 +153,18 @@ def test_trainable_variables():
conv1_before_load = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')[0].eval(session=trainer.session)[0]
conv1_restored = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')[0].eval(session=trainer.session)[0]
conv1_after_train = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')[0].eval(session=trainer.session)[0]
#var_list = tf.get_collection(tf.GraphKeys.VARIABLES, scope='fc1') + tf.get_collection(tf.GraphKeys.VARIABLES, scope='logits')
#optimizer = tf.train.GradientDescentOptimizer(0.01).minimize(loss, global_step=global_step, var_list=var_list)