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 would like to ask about the transfer learning task. If I would exlude the first con layer, so, the modified var is this:
train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='Layer_Linear') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='BLSTM[12]') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='conv[12345]')
If you want to freeze the parameters from the first conv layer, the modification you have write is enough. The transferred one is to set what layers would you like to initialise.
Hello Sir,
I would like to ask about the transfer learning task. If I would exlude the first con layer, so, the modified var is this:
train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='Layer_Linear') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='BLSTM[12]') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='conv[12345]')
train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='Layer_Linear') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='BLSTM[12]') + tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='conv[2345]')
or I would modify the transfered one???
Thank you in advance.
The text was updated successfully, but these errors were encountered: