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
74b846ca
Unverified
Commit
74b846ca
authored
Jun 13, 2023
by
Yih-Dar
Committed by
GitHub
Jun 13, 2023
Browse files
Update `(TF)SamModelIntegrationTest` (#24199)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
d7389cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/models/sam/test_modeling_tf_sam.py
tests/models/sam/test_modeling_tf_sam.py
+2
-1
No files found.
tests/models/sam/test_modeling_tf_sam.py
View file @
74b846ca
...
...
@@ -428,8 +428,9 @@ def prepare_dog_img():
return
raw_image
@
require_tf
@
slow
class
SamModelIntegrationTest
(
unittest
.
TestCase
):
class
TF
SamModelIntegrationTest
(
unittest
.
TestCase
):
def
tearDown
(
self
):
super
().
tearDown
()
# clean-up as much as possible GPU memory occupied by PyTorch
...
...
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