You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that you only restore trainable variables in get_embd.py, I guess that is an typo and is not intended?
with tf.Session(config=tf_config) as sess:
tf.global_variables_initializer().run()
print('loading...')
saver = tf.train.Saver(var_list=tf.trainable_variables())
saver.restore(sess, args.model_path)
print('done!')
Restoring only trainable variables will results in very bad performance because some BN weights and maybe some pretrained (frozen) weights are not restored.
The text was updated successfully, but these errors were encountered:
I noticed that you only restore trainable variables in
get_embd.py
, I guess that is an typo and is not intended?Restoring only trainable variables will results in very bad performance because some BN weights and maybe some pretrained (frozen) weights are not restored.
The text was updated successfully, but these errors were encountered: