Open berombau opened 4 years ago
This has to do with the RandomDeformation_2D augmenter that has to build several deformation grids before training (happens here).
Building a deformation grid takes a significant amount of CPU time, which can make GPU computations inefficient during training. Therefore, the augmenter builds the grids in advance and saves them to the GPU so that the augmentation during training happens on the GPU.
l 167 in gpu_worker/app/worker.py takes 40 secs to run