HealthML / active-segmentation

ActiveSegmentation: A Simulation Framework for Benchmarking Active Learning Strategies for 3D Medical Image Segmentation
GNU Affero General Public License v3.0
16 stars 1 forks source link

Fix logging of selected slices and `disable_interpolation` option #154

Closed josafatburmeister closed 2 years ago

josafatburmeister commented 2 years ago

This PR fixes the following bugs:

The latter bug is fixed by adding an return_only_true_labels option in the dataset. This way, the dataset internally stores all the pseudo-labels but only return them on demand. In case that interpolation is disabled, the pseudo-labels are not returned during training but returned when running the block selection strategy. Therefore, at least for randomly sampling exactly the same true labels will be used as with interpolation enabled.