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
with torch.no_grad():
log_mel = featurizer(waveform).unsqueeze(1)
out, hidden = model(log_mel, hidden)
out = torch.nn.functional.softmax(out, dim=2)
out = out.transpose(0, 1)
pred_ids = torch.argmax(out, -1)
preds = [id2label[i] for i in pred_ids[0].tolist() if id2label[i]!='_']
is that right?
The text was updated successfully, but these errors were encountered:
Hi, what a amazing repository.
After got out/logits of model, how to decode it without beamsearch?
i've been run like this in my model
( and I have id2labels
)
is that right?
The text was updated successfully, but these errors were encountered: