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
f6253147
"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "bdbc7c664b4adf19c013d296c58dfafeb6e8fdf7"
Commit
f6253147
authored
Jan 21, 2022
by
Sylvain Gugger
Browse files
Skip failing test
parent
7799b612
Changes
1
Hide 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 @
f6253147
...
@@ -19,6 +19,7 @@ import json
...
@@ -19,6 +19,7 @@ import json
import
logging
import
logging
import
os
import
os
import
sys
import
sys
import
unittest
from
unittest.mock
import
patch
from
unittest.mock
import
patch
import
torch
import
torch
...
@@ -411,6 +412,7 @@ class ExamplesTests(TestCasePlus):
...
@@ -411,6 +412,7 @@ class ExamplesTests(TestCasePlus):
result
=
get_results
(
tmp_dir
)
result
=
get_results
(
tmp_dir
)
self
.
assertGreaterEqual
(
result
[
"eval_bleu"
],
30
)
self
.
assertGreaterEqual
(
result
[
"eval_bleu"
],
30
)
@
unittest
.
skip
(
"This is currently broken."
)
def
test_run_image_classification
(
self
):
def
test_run_image_classification
(
self
):
stream_handler
=
logging
.
StreamHandler
(
sys
.
stdout
)
stream_handler
=
logging
.
StreamHandler
(
sys
.
stdout
)
logger
.
addHandler
(
stream_handler
)
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