Skip to content

Commit

Permalink
Fix Bug in FlaxWav2Vec2 Slow Test (#15887)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchit-gandhi authored Mar 2, 2022
1 parent d83d22f commit 8fd4731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wav2vec2/test_modeling_flax_wav2vec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def test_inference_ctc_robust_batched(self):

input_speech = self._load_datasamples(4)

inputs = processor(input_speech, return_tensors="pt", padding=True, truncation=True)
inputs = processor(input_speech, return_tensors="np", padding=True)

input_values = inputs.input_values
attention_mask = inputs.attention_mask
Expand Down

0 comments on commit 8fd4731

Please sign in to comment.