sangeet2020 commited on
Commit
037093b
1 Parent(s): ccce62b

minor fixes

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. hyperparams.yaml +1 -1
README.md CHANGED
@@ -54,7 +54,7 @@ model = separator.from_hparams(source="speechbrain/RescueSpeech_Sepformer", save
54
  # for custom file, change path
55
  est_sources = model.separate_file(path='speechbrain/RescueSpeech_Sepformer/example_rescuespeech16k.wav')
56
 
57
- torchaudio.save("enhanced_rescuespeech16k.wav.wav", est_sources[:, :, 0].detach().cpu(), 16000)
58
 
59
  ```
60
 
 
54
  # for custom file, change path
55
  est_sources = model.separate_file(path='speechbrain/RescueSpeech_Sepformer/example_rescuespeech16k.wav')
56
 
57
+ torchaudio.save("enhanced_rescuespeech16k.wav", est_sources[:, :, 0].detach().cpu(), 16000)
58
 
59
  ```
60
 
hyperparams.yaml CHANGED
@@ -19,7 +19,7 @@ train_log: results/sepformer-enhancement/8201/train_log.txt
19
  save_folder: results/sepformer-enhancement/8201/save
20
 
21
  # Dataset prep parameters
22
- data_folder: ../../dataset/audio_sythesis/Task_enhancement/ # !PLACEHOLDER
23
  csv_dir: csv_files
24
  train_csv: csv_files/train.csv
25
  valid_csv: csv_files/dev.csv
 
19
  save_folder: results/sepformer-enhancement/8201/save
20
 
21
  # Dataset prep parameters
22
+ data_folder: dataset/audio_sythesis/Task_enhancement/ # !PLACEHOLDER
23
  csv_dir: csv_files
24
  train_csv: csv_files/train.csv
25
  valid_csv: csv_files/dev.csv