mattricesound commited on
Commit
e3f4ef0
·
1 Parent(s): c7f4805

Remove print, set chunk time default to 6

Browse files
Files changed (2) hide show
  1. config.yaml +1 -1
  2. remfx/datasets.py +0 -1
config.yaml CHANGED
@@ -26,7 +26,7 @@ datamodule:
26
  sample_rate: ${sample_rate}
27
  root: ${oc.env:DATASET_ROOT}
28
  length: ${length}
29
- chunk_size_in_sec: 3
30
  val_split: 0.2
31
  batch_size: 16
32
  num_workers: 8
 
26
  sample_rate: ${sample_rate}
27
  root: ${oc.env:DATASET_ROOT}
28
  length: ${length}
29
+ chunk_size_in_sec: 6
30
  val_split: 0.2
31
  batch_size: 16
32
  num_workers: 8
remfx/datasets.py CHANGED
@@ -63,7 +63,6 @@ class GuitarFXDataset(Dataset):
63
 
64
  def __getitem__(self, idx):
65
  # Load effected and "clean" audio
66
- print("HEY")
67
  song_idx = self.song_idx[idx]
68
  x, sr = torchaudio.load(self.wet_files[song_idx])
69
  y, sr = torchaudio.load(self.dry_files[song_idx])
 
63
 
64
  def __getitem__(self, idx):
65
  # Load effected and "clean" audio
 
66
  song_idx = self.song_idx[idx]
67
  x, sr = torchaudio.load(self.wet_files[song_idx])
68
  y, sr = torchaudio.load(self.dry_files[song_idx])