Remove old debug code leftover. (#15306)
This commit is contained in:
parent
2390b2cf65
commit
eac4aecc3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue