Browse Source

fix RandomAffine resample bug

tags/v0.6.0-beta
yanghaitao 5 years ago
parent
commit
a97777d67e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/dataset/transforms/vision/validators.py

+ 1
- 1
mindspore/dataset/transforms/vision/validators.py View File

@@ -477,7 +477,7 @@ def check_random_affine(method):
if len(shear) not in (2, 4):
raise TypeError("shear must be of length 2 or 4.")

type_check(resample, (Inter,), "resample")
type_check(resample, (Inter,), "resample")

if fill_value is not None:
check_fill_value(fill_value)


Loading…
Cancel
Save