mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 07:06:36 +00:00
GPU augmentation. try2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user