Update models/frn.py
Browse files- models/frn.py +1 -1
models/frn.py
CHANGED
@@ -152,7 +152,7 @@ class PLCModel(pl.LightningModule):
|
|
152 |
pred = pred.detach().cpu().numpy()
|
153 |
lsd, _ = LSD(tar_wav, pred)
|
154 |
|
155 |
-
if batch_idx in [
|
156 |
sample_path = os.path.join(CONFIG.LOG.sample_path)
|
157 |
path = os.path.join(sample_path, 'sample_' + str(batch_idx))
|
158 |
visualize(tar_wav, inp_wav, pred, path)
|
|
|
152 |
pred = pred.detach().cpu().numpy()
|
153 |
lsd, _ = LSD(tar_wav, pred)
|
154 |
|
155 |
+
if batch_idx in [5, 7, 9]:
|
156 |
sample_path = os.path.join(CONFIG.LOG.sample_path)
|
157 |
path = os.path.join(sample_path, 'sample_' + str(batch_idx))
|
158 |
visualize(tar_wav, inp_wav, pred, path)
|