diff --git a/README.rst b/README.rst index 30dce8b4639..718ff01c898 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,7 @@ torchvision The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. + Installation ============ diff --git a/test/test_transforms.py b/test/test_transforms.py index 1bbe1165f93..a801360424c 100644 --- a/test/test_transforms.py +++ b/test/test_transforms.py @@ -892,6 +892,7 @@ def test_adjust_contrast(self): y_ans = np.array(y_ans, dtype=np.uint8).reshape(x_shape) self.assertTrue(np.allclose(y_np, y_ans)) + @unittest.skipIf(Image.__version__ >= '7', "Temporarily disabled") def test_adjust_saturation(self): x_shape = [2, 2, 3] x_data = [0, 5, 13, 54, 135, 226, 37, 8, 234, 90, 255, 1]