primepake commited on
Commit
77d3459
·
1 Parent(s): 2279ae0
Files changed (1) hide show
  1. dac-vae/inference.py +1 -0
dac-vae/inference.py CHANGED
@@ -156,6 +156,7 @@ class DACVAEInference:
156
  # Save if output path provided
157
  if output_path:
158
  print(f"Saving reconstructed audio to {output_path}")
 
159
  sf.write(output_path, recons_audio, self.sample_rate)
160
 
161
  return recons_audio, z, mu, logs
 
156
  # Save if output path provided
157
  if output_path:
158
  print(f"Saving reconstructed audio to {output_path}")
159
+ print('shape of recons_audio: ', recons_audio.shape)
160
  sf.write(output_path, recons_audio, self.sample_rate)
161
 
162
  return recons_audio, z, mu, logs