Skip to content
Snippets Groups Projects
Commit 08603b35 authored by Solene Tarride's avatar Solene Tarride
Browse files

Remove debug code

parent 9837a5c5
No related branches found
No related tags found
No related merge requests found
......@@ -516,8 +516,6 @@ class CTCLanguageDecoder:
Add CTC frames between each characters to avoid duplicate removal
"""
batch_size, _, n_tokens = batch_features.shape
torch.clone(batch_features)
# visualize_debug(batch_features.exp()[0, :batch_frames[0], :].numpy(), "probs.jpg", False)
# Create tensor with high probability CTC token
high_prob = 0.99
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment