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
2dd975b2
Unverified
Commit
2dd975b2
authored
Sep 06, 2021
by
Suraj Patil
Committed by
GitHub
Sep 06, 2021
Browse files
skip image classification test (#13451)
parent
c8be8a9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
examples/pytorch/test_examples.py
examples/pytorch/test_examples.py
+2
-0
No files found.
examples/pytorch/test_examples.py
View file @
2dd975b2
...
...
@@ -19,6 +19,7 @@ import json
import
logging
import
os
import
sys
from
unittest.case
import
skip
from
unittest.mock
import
patch
import
torch
...
...
@@ -343,6 +344,7 @@ class ExamplesTests(TestCasePlus):
result
=
get_results
(
tmp_dir
)
self
.
assertGreaterEqual
(
result
[
"eval_bleu"
],
30
)
@
skip
(
"The test is failing as accuracy is 0, re-enable when fixed."
)
def
test_run_image_classification
(
self
):
stream_handler
=
logging
.
StreamHandler
(
sys
.
stdout
)
logger
.
addHandler
(
stream_handler
)
...
...
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