Porjaz commited on
Commit
7a48e83
1 Parent(s): 1d790af

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +2 -0
train.py CHANGED
@@ -297,6 +297,8 @@ if __name__ == "__main__":
297
  # here we create the datasets objects as well as tokenization and encoding
298
  (train_data, valid_data, test_data) = dataio_prepare(hparams)
299
 
 
 
300
 
301
  # Trainer initialization
302
  asr_brain = ASR(
 
297
  # here we create the datasets objects as well as tokenization and encoding
298
  (train_data, valid_data, test_data) = dataio_prepare(hparams)
299
 
300
+ run_on_main(hparams["pretrainer"].collect_files)
301
+ hparams["pretrainer"].load_collected()
302
 
303
  # Trainer initialization
304
  asr_brain = ASR(