diff --git a/spatial_transforms.py b/spatial_transforms.py index bba9d66..48cb630 100755 --- a/spatial_transforms.py +++ b/spatial_transforms.py @@ -336,7 +336,7 @@ def randomize_parameters(self): self.scale = self.scales[random.randint(0, len(self.scales) - 1)] self.crop_position = self.crop_positions[random.randint( 0, - len(self.scales) - 1)] + len(self.crop_positions) - 1)] class MultiScaleRandomCrop(object):