From 2dd975b235118a578d34f7293e193d79a6437102 Mon Sep 17 00:00:00 2001 From: Suraj Patil Date: Mon, 6 Sep 2021 21:46:25 +0530 Subject: [PATCH] skip image classification test (#13451) --- examples/pytorch/test_examples.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/pytorch/test_examples.py b/examples/pytorch/test_examples.py index 200e398d0c..0f11c98f43 100644 --- a/examples/pytorch/test_examples.py +++ b/examples/pytorch/test_examples.py @@ -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)