We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e976927 + 6fcd5f5 commit f693f4eCopy full SHA for f693f4e
1 file changed
PyTorch/Classification/ConvNets/image_classification/dataloaders.py
@@ -131,6 +131,7 @@ def __init__(
131
random_aspect_ratio=[0.75, 4.0 / 3.0],
132
random_area=[0.08, 1.0],
133
num_attempts=100,
134
+ antialias=False,
135
)
136
137
self.cmnp = ops.CropMirrorNormalize(
@@ -181,7 +182,10 @@ def __init__(
181
182
183
self.decode = ops.ImageDecoder(device="mixed", output_type=types.RGB)
184
self.res = ops.Resize(
- device="gpu", resize_shorter=size, interp_type=interpolation
185
+ device="gpu",
186
+ resize_shorter=size,
187
+ interp_type=interpolation,
188
189
190
191
device="gpu",
0 commit comments