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

Remove debug code

parent 1cccd99b
No related branches found
No related tags found
1 merge request!287Support subword and word language models
This commit is part of merge request !287. Comments created here will be created in the context of that merge request.
......@@ -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