Feat/gpu augmentations#2944
Conversation
|
Dear Etienne, |
|
Hello Fabian! This MR is indeed a big change, probably not worth in the nominal cases. I see improvements when CPU is busy with other trainings. People get crowded on one server, and everybody uses the CPU for augmentation, and each GPU is starving for data. In our team everybody uses nnUNetv2 which already switched to nearest neighbor if i am not mistaken ? At the same time, this GPU-only solution introduces its own caveats as you mentioned in the other MR:
Realistically, I agree that other, simpler solutions can fix our problems:
Anyway, |
|
Hey etienne, |
|
ok, agreed, closing for now. |
In an effort for GPU Augmentation (See #2911 (comment)), i add an option "gpu_augmentation", and i added a new iterator called "ThreadedGPUAugmenter" that applies data augmentation after transfer to the GPU.