Porjaz commited on
Commit
abf03fe
·
verified ·
1 Parent(s): a4e3f59

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +3 -0
train.py CHANGED
@@ -336,6 +336,9 @@ if __name__ == "__main__":
336
  # here we create the datasets objects as well as tokenization and encoding
337
  train_data, valid_data, test_data = dataio_prepare(hparams, tokenizer)
338
 
 
 
 
339
  # Trainer initialization
340
  asr_brain = ASR(
341
  modules=hparams["modules"],
 
336
  # here we create the datasets objects as well as tokenization and encoding
337
  train_data, valid_data, test_data = dataio_prepare(hparams, tokenizer)
338
 
339
+ run_on_main(hparams["pretrainer"].collect_files)
340
+ hparams["pretrainer"].load_collected()
341
+
342
  # Trainer initialization
343
  asr_brain = ASR(
344
  modules=hparams["modules"],