Spaces:
Running
Running
Commit
·
513dd20
1
Parent(s):
7f70614
Fix train batch initial audio3
Browse files- remfx/models.py +2 -2
remfx/models.py
CHANGED
@@ -91,8 +91,8 @@ class RemFXModel(pl.LightningModule):
|
|
91 |
if self.log_train_audio:
|
92 |
x, y, label = batch
|
93 |
# Concat samples together for easier viewing in dashboard
|
94 |
-
input_samples = rearrange(x, "b c t -> c (b t)").
|
95 |
-
target_samples = rearrange(y, "b c t -> c (b t)").
|
96 |
|
97 |
log_wandb_audio_batch(
|
98 |
logger=self.logger,
|
|
|
91 |
if self.log_train_audio:
|
92 |
x, y, label = batch
|
93 |
# Concat samples together for easier viewing in dashboard
|
94 |
+
input_samples = rearrange(x, "b c t -> c (b t)").unsqueeze(0)
|
95 |
+
target_samples = rearrange(y, "b c t -> c (b t)").unsqueeze(0)
|
96 |
|
97 |
log_wandb_audio_batch(
|
98 |
logger=self.logger,
|