-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
Why is the duration not preserved during a forward pass through the model?
import dac
from audiotools import AudioSignal
import torch
model_path = dac.utils.download(model_type="24khz")
model = dac.DAC.load(model_path)
x = torch.rand(1, 1, 320*10)
y = model(x)["audio"]
print("duration x = ", x.shape[-1])
print("duration y = ", y.shape[-1])
Output:
duration x = 3200
duration y = 3192
ecobost
Metadata
Metadata
Assignees
Labels
No labels