patrickvonplaten commited on
Commit
14441d6
1 Parent(s): 9515498
Files changed (1) hide show
  1. run_forward.py +2 -2
run_forward.py CHANGED
@@ -10,9 +10,9 @@ import sys
10
  from shutil import copyfile
11
  from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor, Wav2Vec2Model, Wav2Vec2CTCTokenizer, Wav2Vec2FeatureExtractor
12
 
13
- finetuned = bool(int(sys.argv[1]))
14
  fairseq_wav2vec2_path = str(sys.argv[2])
15
- hf_path = str(sys.argv[3])
16
 
17
 
18
  if finetuned:
 
10
  from shutil import copyfile
11
  from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor, Wav2Vec2Model, Wav2Vec2CTCTokenizer, Wav2Vec2FeatureExtractor
12
 
13
+ hf_path = str(sys.argv[1])
14
  fairseq_wav2vec2_path = str(sys.argv[2])
15
+ finetuned = bool(int(sys.argv[3]))
16
 
17
 
18
  if finetuned: