Releases: computational-cell-analytics/micro-sam
v1.6.0 🌈
With this version we publish improved versions of the light microscopy and electron microscopy models.
Changes
- Bump version @constantinpape (#1066)
- Update embedding visualization and add support for ROIs in SAM datasets @constantinpape (#1065)
- Prepare new release @constantinpape (#1064)
- Allow support for custom label transforms in default_sam_dataset @lufre1 (#1063)
- Start preparing release for new models @anwai98 (#1061)
- Update documentation for BAND @anwai98 (#1060)
- Minor updates to EM evaluation benchmarking scripts @anwai98 (#1059)
- More zarr v3 fixes @constantinpape (#1057)
- Update RELEASE_OVERVIEW.md @anwai98 (#1055)
- Update generalist training scripts @anwai98 (#1052)
- Update environment.yaml @anwai98 (#1050)
v1.5.0 🌈
Changes
- New release @constantinpape (#1049)
- Try to re-activate linux gui tests @constantinpape (#914)
- Update automatic tracking for storing tracks in CTC format @anwai98 (#1045)
- Resume tests for py3.12 @anwai98 (#1026)
- Fix issue in object prediction @constantinpape (#1048)
- First working prototype for object classifier @constantinpape (#1036)
- Add configuration for training on smaller GPUs @anwai98 (#1046)
- Change the QLoRA model export to work with Late QLoRA @caroteu (#1041)
- Minor update to instance segmentation finetuning - expose loss function @anwai98 (#1042)
- Remove context manager for zarr.open @constantinpape (#1043)
- Minor update to automatic segmentation CLI - verbosity argument @anwai98 (#1040)
- Make passing checkpoint flexible in livecell inference script @anwai98 (#1034)
- Ensure device consistency in onnx model export @anwai98 (#1029)
- Remove napari pin to allow v6 supports @anwai98 (#1019)
- Minor update to return value for iterative prompting evaluation @anwai98 (#1024)
- Add support for different prompt choice in interactive seg @anwai98 (#1022)
- Minor update to all docstrings @anwai98 (#1023)
- Minor updates to quick start notebook @anwai98 (#1016)
- Remove verbosity argument from learning rate schedulers @anwai98 (#1021)
- Add quick-start notebook @haesleinhuepf (#1013)
- Better handling of input prompts in first iteration @anwai98 (#991)
- Minor typo fix in documentation @anwai98 (#1010)
- Ensure valid layers exist for each annotator click menu @anwai98 (#943)
- Implement instance segmentation training and update training tests @constantinpape (#1008)
- Updates to automatic segmentation @constantinpape (#979)
- Add micromamba installation instructions in FAQ section @anwai98 (#1005)
- Update notebooks for updated conda installation @anwai98 (#1004)
- Update README.md @constantinpape (#1003)
- Minor fix to remove peft kwargs from evaluation scripts @anwai98 (#1002)
- Add zarr to yaml file @anwai98 (#996)
- Fix model export issues @anwai98 (#989)
- Update example scripts for automatic segmentation @anwai98 (#988)
- Add documentation for info and evaluation CLIs @anwai98 (#981)
- Minor update to avoid using napari pbar in CLI @anwai98 (#987)
- Minor fix to training CLI argument @anwai98 (#984)
- Update the documentation for v1.4.0 @constantinpape (#975)
- Update RELEASE_OVERVIEW.md @anwai98 (#974)
v1.4.0 🌈
Fix windows installation, GUI updates and automatic tracking
This release includes three main changes:
- Preliminary support for automatic tracking via Trackastra integration.
- Changes in the GUI to make the model names more informative
- Much easier installation on windows
Changes
- New release @constantinpape (#971)
- Minor update to environment file and other docs @anwai98 (#972)
- Fix automatic tracking with dask @constantinpape (#970)
- Update model combination tooltips and adapt other GUIs @anwai98 (#964)
- Better preservation for committed objects @constantinpape (#967)
- Update benchmark.py @YonghaoZhao722 (#966)
- Update commit to file @constantinpape (#959)
- Validate model type with model state instead of state @caroteu (#962)
- Minor update to training CLI @anwai98 (#957)
- Add scripts for annotating data on OMERO server @anwai98 (#941)
- Fix dependencies @constantinpape (#955)
- Add checks for valid values parsed to finetuning CLI arguments @anwai98 (#944)
- Omero support for TiM workshop @constantinpape (#946)
- Merge master into dev @constantinpape (#947)
- Start preparation for TIM2025 workshop @anwai98 (#925)
- Minor updates to embedding widget @anwai98 (#938)
- Tracking layer @constantinpape (#913)
- Fix issues in the image series annotator and load existing segmentati… @constantinpape (#936)
- Add download progress bar to napari info log @anwai98 (#933)
- Make GUI default model choice depend on micro_sam defaults @anwai98 (#934)
- Add validation window for avoiding recomputing embeddings @anwai98 (#790)
- Allow flexible loading of mismatching checkpoint-model type combination @anwai98 (#886)
- Add implementation for Late PEFT @caroteu (#916)
- Save outputs of automatic segmentation CLI in stages @anwai98 (#928)
- Implement batched prediction for the AIS segmentation decoder @constantinpape (#932)
- Update model choice design in annotator tools @anwai98 (#927)
- Add evaluation CLI mentions to usage FAQ @anwai98 (#930)
- Update GUI to avoid replicating existing label / prompt layers @anwai98 (#929)
- Implement batched embedding computation @constantinpape (#926)
- End: ensure the return of
_to_image
is a np.array (allows dask layers to work) @psobolewskiPhD (#922) - Add support for avoiding to overwrite trained model @anwai98 (#919)
- Add information CLI @anwai98 (#911)
- Update environment file for installation @anwai98 (#912)
- Update embedding widget to pop dialog box for no images @anwai98 (#910)
- Support multiple images in automatic segmentation CLI @anwai98 (#904)
- Start implementation for automated tracking @constantinpape (#678)
- Add evaluation CLI for segmentations @anwai98 (#899)
- Update training section in doc with finetuning CLI mention @anwai98 (#900)
- Update example notebooks with comments on tiling-based inference @anwai98 (#901)
- Update default prompt propagation mode for multidimensional data @anwai98 (#903)
- Move automatic segmentation mode @constantinpape (#898)
- Remove exclusive yaml file for windows @anwai98 (#895)
- Update win installation WIP @constantinpape (#869)
v1.3.1 🌈
Changes
- Bump version @constantinpape (#885)
- Add support for preprocessing inputs in training CLI @anwai98 (#879)
- Update documentation with latest features @anwai98 (#890)
- Minor fix to handle is_seg_dataset argument @anwai98 (#892)
- Minor fix to automatic segmentation in 3d @anwai98 (#882)
- Add data submission section to the documentation @constantinpape (#881)
- Update RELEASE_OVERVIEW.md @anwai98 (#878)
v1.3.0 🌈
New Light Microscopy Models
This release introduces a new light microscopy model that was trained on a larger dataset and clearly improves automatic segmentation.
See the improvements (qualitative and quantitative) of the new model:
The vit-b version of this model is the new default model used in micro_sam.
Changes
- Bump version @constantinpape (#877)
- Add link to new models on BioImage.IO @anwai98 (#873)
- Minor update to remove debugging scripts @anwai98 (#876)
- Change default model @constantinpape (#874)
- Merge dev into master @constantinpape (#872)
- Release preparation for new LM v3 models @anwai98 (#862)
- Add menu option for automatic segmentation modes @anwai98 (#793)
- Update README.md @constantinpape (#871)
- Create RELEASE_OVERVIEW.md @anwai98 (#867)
- Update LM generalist scripts @anwai98 (#822)
- Refactor model export for training scripts @constantinpape (#864)
- Minor update to automatic segmentation mode defaults in CLI @anwai98 (#863)
- Add CLI for training SAM @anwai98 (#860)
- Add garbage collection after commit and clear annotations @anwai98 (#789)
- Extend support for GUI training on RGB images @anwai98 (#859)
- Extend automatic segmentation CLI to allow continuing annotation @anwai98 (#858)
- Minor updates to benchmarking CLI with new LM datasets @anwai98 (#861)
- Add scripts for promptable segmentation using weak labels @anwai98 (#857)
v1.2.2 🌈
v1.2.1 🌈
This release implements several changes that are part of three of our recent publications that are built on top of micro_sam
:
- medico-sam, which improves SAM for medical images
- peft-sam, which investigates parameter efficient finetuning for SAM
- patho-sam, which improves SAM for histopathology
Changes
- Prepare release 1.2.1 @constantinpape (#852)
- Parallel AIS implementation @constantinpape (#851)
- Disable GUI tests on Linux @constantinpape (#849)
- Add histopathology whole-slide image sample image @anwai98 (#848)
- Minor update to make rank optional in peft class @anwai98 (#846)
- Add support for tiling window in evaluation scripts @anwai98 (#844)
- Minor update to support peft kwargs in qualitative comparsion scripts @anwai98 (#845)
- Minor updates to UNETR model function @anwai98 (#843)
- Fix QLoRA weights and bias initialisation @caroteu (#833)
- Add medical imaging models to model registry @anwai98 (#841)
- Update dice weight constraints for flexible loss weighting @anwai98 (#839)
- Expose
out_channels
arguments forget_unetr
function @anwai98 (#838) - Add support for histopathology models @anwai98 (#834)
- Simplify logic for metric choice @anwai98 (#831)
- Extend dice score metric for multi-dim segmentation @anwai98 (#829)
- Add support for larger SAM models for 3d semantic segmentation @anwai98 (#827)
- Add QLoRA @anwai98 (#820)
- Minor update to prompt-based segmentation @anwai98 (#825)
- Minor fix to release overview doc @anwai98 (#821)
- Add release notes to doc @anwai98 (#819)
v1.2.0 🌈
Version 1.2.0
The main changes in this version are:
- Installation using only conda-forge dependencies and simplified installation instructions (on Linux and Mac OS)
- Fix annotation in napari widgets with scale factors thanks to @psobolewskiPhD
- Support for several parameter-efficient training methods thanks to @caroteu and @anwai98
Changes
- Bump to version 1.2.0 @constantinpape (#816)
- Merge dev into master @constantinpape (#815)
- Update conda environments and CI @constantinpape (#814)
- Allow flexible choice between metrics for grid-search @anwai98 (#812)
- Refactor peft test @constantinpape (#810)
- Add SSF method @anwai98 (#727)
- Minor update to interactive multi-dim segmentation functionality @anwai98 (#802)
- Add AdaptFormer @caroteu (#741)
- Add logo to doc @anwai98 (#809)
- [Enh] Handle segmenting image layers that have non-1 layer.scale @psobolewskiPhD (#804)
- Add SAM export scripts in bioengine format @anwai98 (#803)
- Update start_page.md @constantinpape (#807)
- Update README.md @constantinpape (#806)
- Minor fix to caching embeddings in AIS evaluation @anwai98 (#800)
- Upstream dev with master @anwai98 (#799)
- Minor update to path for storing iterative prompting results @anwai98 (#797)
- Add tooltip mentions in FAQ section @anwai98 (#796)
- Minor fix to finetuning UI tooltip @anwai98 (#795)
- Ensure segmentation data type after connected components @anwai98 (#783)
- Fix choice of automatic segmentation mode in CLI @anwai98 (#788)
- Minor update to avoid caching embeddings in evaluation @anwai98 (#782)
- Add example script for automatic segmentation @anwai98 (#781)
- Minor fix to casting masks in AMG post-processing @anwai98 (#780)
- Add documentation for micro-sam CLIs @anwai98 (#777)
- Minor fixes to automatic segmentation notebook @anwai98 (#779)
- Add LoRA scaling factor @caroteu (#770)
- Remove merge conflict artifacts @anwai98 (#774)
- Fix automatic segmentation CLI - return tiling window segmeter @anwai98 (#767)
- Update workshop @constantinpape (#764)
- Fix training UI @anwai98 (#763)
- Make caching embeddings optional for evaluation scripts @anwai98 (#759)
- Add latest release overview to doc @anwai98 (#761)
- Add suggestion to transfer downloaded checkpoints and rename filenames @anwai98 (#758)
- Add release overview to doc @anwai98 (#757)
- Updates for the workshop @constantinpape (#755)
- Minor updates to finetuning notebook @anwai98 (#753)
- Minor updates to workshop documents @anwai98 (#752)
v1.1.1 🌈
Release 1.1.1
Fixing minor issues with 1.1.0 and enabling pytorch 2.5 support.
Changes
- Update __version__.py @constantinpape (#749)
- Update workshop notes @constantinpape (#750)
- Doc and workshop updates @constantinpape (#746)
- Update build_installers.yaml @constantinpape (#748)
- Update build_installers.yaml @constantinpape (#747)
v1.1.0 🌈
Version 1.1.0
micro_sam
is a tool for microscopy image segmentation based on Segment Anything model.
This version introduces several improvements:
- Compatibility with napari >= 0.5
- CLI for automatic instance segmentation
- Initial support for parameter efficient finetuning and automatic 2d/3d semantic segmentation (not available via the napari plugin yet, but part of the python library)
- And several other minor improvements and bugfixes
Changes
- Bump to version 1.1 @constantinpape (#745)
- Changes for release 1.1 @constantinpape (#744)
- Add materials for hands-on workshops @anwai98 (#742)
- Disable thread workers @constantinpape (#739)
- Fix link to the finetuning notebook in doc @anwai98 (#743)
- Updates to the image series annotator @constantinpape (#738)
- Expose is_seg_dataset argument in sam dataset @anwai98 (#736)
- Add CLI for benchmarking datasets on SAM models @anwai98 (#728)
- Add dry run for loaders to check for valid instances @anwai98 (#705)
- Minor update to ignore warnings in train_sam functionality @anwai98 (#722)
- Update docs - add hints on starting napari @anwai98 (#724)
- Add recommendations in finetuning notebook @anwai98 (#720)
- Expose kwargs to allow changing peft module arguments @anwai98 (#718)
- Add selective peft methods @anwai98 (#708)
- Update dropout defaults for FacT finetuning method @anwai98 (#714)
- Overwrite keybindings of prompt layers @constantinpape (#711)
- Extend iterative prompt generators to return prompts for 3d @anwai98 (#692)
- Napari updates @constantinpape (#710)
- Revert "Fix clearing shape layer" @constantinpape (#709)
- Fix clearing shape layer @constantinpape (#696)
- Add section in FAQ for passing custom model weights @anwai98 (#707)
- Add tests for automatic segmentation function @anwai98 (#702)
- Add automatic segmentation cli @anwai98 (#699)
- Update yaml files - pin napari < 0.5 @anwai98 (#694)
- Fix livecell top-level finetuning script - adapt with new peft changes @anwai98 (#691)
- Add nifty pin to yaml files @anwai98 (#688)
- Minor update to move edge-related attributes to border @anwai98 (#689)
- Minor update to peft kwargs in SAM wrappers @anwai98 (#686)
- Add FaCT Finetuning for SAM @anwai98 (#682)
- Update the python versions in test matrix @constantinpape (#685)
- Add LoRA support to LIVECell finetuning scripts @anwai98 (#681)
- Minor updates to resource efficient finetuning experiments @anwai98 (#665)
- Minor fix to label transform function in finetuning notebook @anwai98 (#677)
- Add livecell lora plots @anwai98 (#674)
- Fix issue in AIS precomputation and extend training functionality @constantinpape (#673)
- Fix issue with dtypes that leads to integer overflow in committing @constantinpape (#671)
- Add plotting scripts for AIS experiments @anwai98 (#666)
- Remove disconnected objects after AMG @constantinpape (#668)
- Update docstrings to document recent functionalities @anwai98 (#664)
- Add AIS benchmarking scripts @anwai98 (#657)
- Minor update to input checking for training functionality @anwai98 (#663)
- Add min-size to training and fix other issues @constantinpape (#658)
- Add weighting to dice loss in semantic trainer @anwai98 (#656)
- Add timing outputs @constantinpape (#655)
- Minor refactor to LoRA model initialization in
get_trainable_sam_model
@anwai98 (#654) - Refactor resource efficient finetuning scripts @anwai98 (#653)
- Fix bug in precompute for 3d data @constantinpape (#649)
- Api cleanup @constantinpape (#648)
- Minor fix to trainable sam model functionality @anwai98 (#646)
- Add simple 3d wrapper and enable freezing the encoder in sam 3d wrapper @constantinpape (#645)
- Add SemanticSam3dLogger @anwai98 (#643)
- 636 enhance 3d image processing based on ma sam @lufre1 (#639)
- Minor fix to loading incompatible layers @anwai98 (#641)
- Minor update to loading models @anwai98 (#640)
- Add SemanticSamTrainer @anwai98 (#637)
- Add LoRA Implementation @anwai98 (#611)
- Minor update to default rescaling params in resizerawtrafo @anwai98 (#635)
- Add SimpleSamTrainer @anwai98 (#631)
- Add mentions for annotating 3D RGB volumes @anwai98 (#629)
- Remove device input for TrainableSAM @anwai98 (#632)
- Add MedSAM Reimplementation @anwai98 (#612)
- Add PanNuke specialist finetuning @anwai98 (#622)
- Upstream dev with master @anwai98 (#624)
- Add progressbar to pooch download @constantinpape (#623)
- Update docs @constantinpape (#621)