Skip to content

Commit 8747fea

Browse files
author
josh
committed
cleaning up extra, unused flags for transfer
1 parent 1fbd58f commit 8747fea

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

DeepSpeech.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -515,21 +515,6 @@ def train():
515515

516516
tf.get_default_graph().finalize()
517517
# TRANSFER LEARNING #
518-
519-
# # Loading or initializing
520-
# loaded = False
521-
# if FLAGS.load in ['auto', 'last']:
522-
# loaded = try_loading(session, checkpoint_saver, checkpoint_filename, 'most recent epoch')
523-
# if not loaded and FLAGS.load in ['auto', 'best']:
524-
# loaded = try_loading(session, best_dev_saver, best_dev_filename, 'best validation')
525-
# if not loaded:
526-
# if FLAGS.load in ['auto', 'init']:
527-
# log_info('Initializing...')
528-
# session.run(initializer)
529-
# else:
530-
# log_error('Unable to load %s model from specified checkpoint dir'
531-
# ' - consider using load option "auto" or "init".' % FLAGS.load)
532-
# sys.exit(1)
533518

534519
# Retrieving global_step from restored model and setting training parameters accordingly
535520
model_feeder.set_data_set(no_dropout_feed_dict, train_set)

0 commit comments

Comments
 (0)