"configs/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "7eeef5933c359258b02835ca5e06b406dd6de407"
Unverified Commit eac4aecc authored by Nicolas Patry's avatar Nicolas Patry Committed by GitHub
Browse files

Remove old debug code leftover. (#15306)

parent 2390b2cf
......@@ -300,12 +300,7 @@ class AutomaticSpeechRecognitionPipeline(ChunkPipeline):
logits = outputs["logits"].numpy()
stride = outputs.get("stride", None)
if stride is not None:
try:
total_n, left, right = stride
except Exception:
import ipdb
ipdb.set_trace()
total_n, left, right = stride
# Total_n might be < logits.shape[1]
# because of padding, that's why
# we need to reconstruct this information
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment