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

Developing ta wald #88

Closed TaWald closed 3 years ago

TaWald commented 3 years ago

Added downwards compatability of batchgenerators. Current ScalarType Callable[[Any, ...] breaks as <=Python 3.8 expects Argtypes in the List only (no ellipsis). Workaround by defining Protocol which has the wanted signature and using that.