Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
8fd47310
Unverified
Commit
8fd47310
authored
Mar 02, 2022
by
Sanchit Gandhi
Committed by
GitHub
Mar 02, 2022
Browse files
Fix Bug in FlaxWav2Vec2 Slow Test (#15887)
parent
d83d22f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/wav2vec2/test_modeling_flax_wav2vec2.py
tests/wav2vec2/test_modeling_flax_wav2vec2.py
+1
-1
No files found.
tests/wav2vec2/test_modeling_flax_wav2vec2.py
View file @
8fd47310
...
...
@@ -384,7 +384,7 @@ class FlaxWav2Vec2ModelIntegrationTest(unittest.TestCase):
input_speech
=
self
.
_load_datasamples
(
4
)
inputs
=
processor
(
input_speech
,
return_tensors
=
"p
t
"
,
padding
=
True
,
truncation
=
True
)
inputs
=
processor
(
input_speech
,
return_tensors
=
"
n
p"
,
padding
=
True
)
input_values
=
inputs
.
input_values
attention_mask
=
inputs
.
attention_mask
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment