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
a105c9b7
Unverified
Commit
a105c9b7
authored
Sep 01, 2021
by
Patrick von Platen
Committed by
GitHub
Sep 01, 2021
Browse files
fix (#13383)
parent
4475f1dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/test_modeling_speech_encoder_decoder.py
tests/test_modeling_speech_encoder_decoder.py
+1
-0
No files found.
tests/test_modeling_speech_encoder_decoder.py
View file @
a105c9b7
...
...
@@ -184,6 +184,7 @@ class EncoderDecoderMixin:
with
tempfile
.
TemporaryDirectory
()
as
tmpdirname
:
enc_dec_model
.
save_pretrained
(
tmpdirname
)
enc_dec_model
=
SpeechEncoderDecoderModel
.
from_pretrained
(
tmpdirname
)
enc_dec_model
.
to
(
torch_device
)
after_outputs
=
enc_dec_model
(
input_values
=
input_values
,
...
...
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