You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The duration of the denoised audio is inconsistent. May I ask what the problem is? I am currently working on saving the denoised audio locally, but there is a discrepancy between the denoised audio and the original audio
`def denoise_audio(audio_path, output_path):
dwav, sr = torchaudio.load(audio_path)
dwav = dwav.mean(dim=0)
wav_denoised, _ = denoise(dwav, sr, device)
if wav_denoised.ndim == 1:
wav_denoised = wav_denoised.unsqueeze(0)
The duration of the denoised audio is inconsistent. May I ask what the problem is? I am currently working on saving the denoised audio locally, but there is a discrepancy between the denoised audio and the original audio
`def denoise_audio(audio_path, output_path):
dwav, sr = torchaudio.load(audio_path)
dwav = dwav.mean(dim=0)
wav_denoised, _ = denoise(dwav, sr, device)
if wav_denoised.ndim == 1:
wav_denoised = wav_denoised.unsqueeze(0)
The text was updated successfully, but these errors were encountered: