MIC-DKFZ / batchgenerators

A framework for data augmentation for 2D and 3D image classification and segmentation
Apache License 2.0
1.1k stars 221 forks source link

Restore SIGTERM behavior to terminate subprocesses in multi-threaded augmenters #127

Open becktepe opened 2 months ago

becktepe commented 2 months ago

When running multi-threaded augmenters on a SLURM cluster, workers are not terminated properly. Restoring the default SIGTERM behavior solves this problem.