!33 Optimize the execution time of test case test_rgb_hsv.py

Merge pull request !33 from qianlong21st/ql/fix_test_rgb_hsv
This commit is contained in:
mindspore-ci-bot 2020-03-31 09:53:01 +08:00 committed by Gitee
commit e9be3483fe
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ def test_rgb_hsv_pipeline():
# First dataset
transforms1 = [
vision.Decode(),
vision.Resize([64, 64]),
vision.ToTensor()
]
transforms1 = vision.ComposeOp(transforms1)
@ -142,6 +143,7 @@ def test_rgb_hsv_pipeline():
# Second dataset
transforms2 = [
vision.Decode(),
vision.Resize([64, 64]),
vision.ToTensor(),
vision.RgbToHsv(),
vision.HsvToRgb()