Version 3.6.0
Major:
- Transition to
numpy2 (#134) - Update notebooks by removing the cell that restarts the kernel, as it is no longer necessary after the transition to NumPy 2.
- Changing default normalization to
‘zero_mean_unit_variance’ - imgaug dependency removal by implementing the transformations we were using directly in BiaPy (#134)
Minor:
- Renamed
REMOVE_CLOSE_POST_POINTS_RADIUS_BY_MASKtoREMOVE_CLOSE_POINTS_RADIUS_BY_MASKso it’s more general and to be used with pre points too - Add num_workers information for test generator
- Improve classification message when expected classes and number of folder does not match (#124)
- Change all os.walk functions to os_walk_clean so the hidden files/dirs are not listed (#125)
- Add support to n5 files
- Add
MODEL.SKIP_UNMATCHED_LAYERSvariable to allow finetune models without no SSL workflow pretraining (#132) - Add check in 3D data cropping to not allow padding greater than half of the patch size
- Try to capture tiff metadata automatically to determine axis order
- Limit
zarrto be under3.0until it is more developed - Fix
timmversion to1.0.14as in1.0.15there are some errors when calling the ViT forward function. Check thattest20is working whenever we want to update the version - Add a script to repair the notebooks so they can be visualized in Github
Bugs fixed:
- Avoid errors when no post-points are detected during synapse detection
- Adapt histogram matching to new output from
load_data_from_dirmethod - Add test data check for classification in check_configuration.py (#124)
- Add the old
AUGMENTOR.AFFINE_MODEandDATA.NORMALIZATION.CUSTOM_MODEkey conversion to the current config version - Move
model.eval()before BMZ input/output creation in test - Delete old
DATA.NORMALIZATION.APPLICATION_MODEduring cfg translation to the current version - Only write pre/post csv files if at least one point is found
- Fix bug for semantic segmentation with more than 2 classes
- Fix bug when loading prediction files when using
MODEL.REUSE_PREDICTIONS, the stored prediction files are always of '.tif' extension (as created by thesave_tifmethod). - Add div normalization in SR templates as the default normalization was changed it needs to be explicitly specified.
- Add normalization instructions to classification workflow data load
Full Changelog: v3.5.13...v3.6.0