GPU augmentation. try2

This commit is contained in:
zxsanny
2025-03-05 10:48:45 +02:00
parent 5bd519b968
commit 2611a22264
+2 -2
View File
@@ -62,8 +62,8 @@ class DataLoader:
aug_image = fn.random_resized_crop(
images,
device='gpu',
min_scale=0.8,
max_scale=1.0
size=(images.shape[1], images.shape[2]),
random_area=(0.8, 1.0)
)
# Apply multiple random augmentations