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
d92e22d1
Unverified
Commit
d92e22d1
authored
Oct 07, 2022
by
Sylvain Gugger
Browse files
Remove ref to is_pipeline_test
parent
9ac586b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
tests/pipelines/test_pipelines_zero_shot_object_detection.py
tests/pipelines/test_pipelines_zero_shot_object_detection.py
+1
-9
No files found.
tests/pipelines/test_pipelines_zero_shot_object_detection.py
View file @
d92e22d1
...
...
@@ -15,14 +15,7 @@
import
unittest
from
transformers
import
MODEL_FOR_ZERO_SHOT_OBJECT_DETECTION_MAPPING
,
is_vision_available
,
pipeline
from
transformers.testing_utils
import
(
is_pipeline_test
,
nested_simplify
,
require_tf
,
require_torch
,
require_vision
,
slow
,
)
from
transformers.testing_utils
import
nested_simplify
,
require_tf
,
require_torch
,
require_vision
,
slow
from
.test_pipelines_common
import
ANY
,
PipelineTestCaseMeta
...
...
@@ -39,7 +32,6 @@ else:
@
require_vision
@
require_torch
@
is_pipeline_test
class
ZeroShotObjectDetectionPipelineTests
(
unittest
.
TestCase
,
metaclass
=
PipelineTestCaseMeta
):
model_mapping
=
MODEL_FOR_ZERO_SHOT_OBJECT_DETECTION_MAPPING
...
...
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