Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
28e2887a
Unverified
Commit
28e2887a
authored
Dec 05, 2023
by
NielsRogge
Committed by
GitHub
Dec 05, 2023
Browse files
⚠
️ [VitDet] Fix test (#27832)
Address test
parent
b242d0f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/vitdet/modeling_vitdet.py
src/transformers/models/vitdet/modeling_vitdet.py
+1
-1
No files found.
src/transformers/models/vitdet/modeling_vitdet.py
View file @
28e2887a
...
...
@@ -815,8 +815,8 @@ class VitDetBackbone(VitDetPreTrainedModel, BackboneMixin):
def
forward
(
self
,
pixel_values
:
torch
.
Tensor
,
output_attentions
:
Optional
[
bool
]
=
None
,
output_hidden_states
:
Optional
[
bool
]
=
None
,
output_attentions
:
Optional
[
bool
]
=
None
,
return_dict
:
Optional
[
bool
]
=
None
,
)
->
BackboneOutput
:
"""
...
...
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