Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinyuan Li committed Jan 16, 2024
1 parent abea30d commit 4a4607c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/estimators/speech_recognition/test_pytorch_icefall.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def test_pytorch_icefall(art_warning, expected_values, device_type):

# Test transcription outputs
hyps = []
hyps.append(speech_recognizer.predict(x[0]))
hyps.append(speech_recognizer.predict(x[1]))
hyps.append(speech_recognizer.predict(x[2]))
hyps.append(speech_recognizer.predict(xs[0]))
hyps.append(speech_recognizer.predict(xs[1]))
hyps.append(speech_recognizer.predict(xs[2]))
print(hyps)

assert (np.array(hyps) == y).all()
Expand Down

0 comments on commit 4a4607c

Please sign in to comment.