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
c1a13861
Unverified
Commit
c1a13861
authored
May 31, 2022
by
Yih-Dar
Committed by
GitHub
May 31, 2022
Browse files
Fix ViTMAEModelTester (#17470)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
b0e0ac8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/models/vit_mae/test_modeling_tf_vit_mae.py
tests/models/vit_mae/test_modeling_tf_vit_mae.py
+4
-0
No files found.
tests/models/vit_mae/test_modeling_tf_vit_mae.py
View file @
c1a13861
...
...
@@ -107,6 +107,10 @@ class TFViTMAEModelTester:
num_hidden_layers
=
self
.
num_hidden_layers
,
num_attention_heads
=
self
.
num_attention_heads
,
intermediate_size
=
self
.
intermediate_size
,
decoder_hidden_size
=
self
.
hidden_size
,
decoder_num_hidden_layers
=
self
.
num_hidden_layers
,
decoder_num_attention_heads
=
self
.
num_attention_heads
,
decoder_intermediate_size
=
self
.
intermediate_size
,
hidden_act
=
self
.
hidden_act
,
hidden_dropout_prob
=
self
.
hidden_dropout_prob
,
attention_probs_dropout_prob
=
self
.
attention_probs_dropout_prob
,
...
...
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