Debugging [skip ci]

parent 8180f189
Pipeline #12910 skipped
......@@ -171,6 +171,16 @@ def test_trainable_variables():
trainer.train()
conv1_after_train = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='conv1')[0].eval(session=trainer.session)[0]
print(conv1_trained - conv1_before_load)
print(conv1_trained - conv1_restored)
print(conv1_trained - conv1_after_train)
import ipdb; ipdb.set_trace();
x = 0
#var_list = tf.get_collection(tf.GraphKeys.VARIABLES, scope='fc1') + tf.get_collection(tf.GraphKeys.VARIABLES, scope='logits')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment