Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.3.0 #344

Merged
merged 110 commits into from
Dec 21, 2023
Merged

Version 2.3.0 #344

merged 110 commits into from
Dec 21, 2023

Commits on Nov 1, 2023

  1. Configuration menu
    Copy the full SHA
    a826e58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a99af9 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Configuration menu
    Copy the full SHA
    6360126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef42f83 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Bug fix: fix hang when generating features from WSI w/ PyTorch extrac…

    …tor & non-OpenCV normalizer
    jamesdolezal committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    26391f0 View commit details
    Browse the repository at this point in the history
  2. Save and re-apply slide alignments

    - Save a slide alignment with `WSI.alignment.save(path)`
    - Re-apply a saved alignment with
    `WSI.load_alignment(path)` or `WSI.apply_alignment(Alignment.load(path)`
    jamesdolezal committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    f84ae27 View commit details
    Browse the repository at this point in the history
  3. Fixes for PyTorch GPU-accelerated stain normalizers

    - If a PyTorch, GPU-enabled normalizer has a device set, use this device when calculating DatasetFeatures
    - Move normalizers to a device when setting the `.device` attribute
    - Change the preferred device for Reinhard PyTorch normalizer from 'gpu' to 'cuda'
    jamesdolezal committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    4694b51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    199e35a View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Configuration menu
    Copy the full SHA
    e0ba68b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6b4878 View commit details
    Browse the repository at this point in the history
  3. Drop last non-full batch when training MIL

    - Not dropping this batch can lead to shape errors, issues with batch normalization, and other problems.
    jamesdolezal committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    36fb7d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    28812bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06cd774 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7536514 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Configuration menu
    Copy the full SHA
    a4a91c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Bug fix: use_bounds and transforms arguments for JPEG images

    - Disable "use slide bounding boxes" option in Studio with cucim backend
    jamesdolezal committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    c6df806 View commit details
    Browse the repository at this point in the history
  2. New aligment saving/loading methods

    - Alignment is now performed with reference to base slide dimensions (untransformed, without bounds or flipping/rotating). This is groundwork to allow alignments to be portable across tile sizes and slides (but potentially consistent between slide scanners)
    jamesdolezal committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    da6d900 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c884f3e View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    62905be View commit details
    Browse the repository at this point in the history
  2. Improve debug logs.

    jamesdolezal committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    4ea6d20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0390d48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aaa0225 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    14bfa3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56ed783 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    59c00e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54d58d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Reduce memory usage w/ cucim image conversions

    - Reduce memory usage when generating images with CuCIM by using float32 instead of float64 during image conversion
    jamesdolezal committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    74a3fa4 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Initial support for OME-TIFF; pending testing

    - This initial support needs minor refactoring for efficiency and to ensure broader compatibility
    jamesdolezal committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3d65177 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    3c43b92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a9bc97 View commit details
    Browse the repository at this point in the history
  3. Bug fix

    jamesdolezal committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    3f62492 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c512aa View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    1095c52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bd113c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aca2f1b View commit details
    Browse the repository at this point in the history
  4. Fix stain augmentation string parsing in PyTorch [#335]

    - Fix error where 'n' was not recognized as a valid augmentation in PyTorch.
    - Improves error handling for stain augmentation, raising an error if 'n' is provided but not a stain normalizer.
    jamesdolezal committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    8d5cef1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33d2099 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    10a6c0c View commit details
    Browse the repository at this point in the history
  7. Add experimental support for multi-GPU inference during feature extra…

    …ction
    
    - Use by setting `num_gpus` in `Project.generate_feature_bags()`
    - Works in both pytorch and tensorflow
    jamesdolezal committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    2a5cbbf View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    ed037aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c4db46 View commit details
    Browse the repository at this point in the history
  3. Bug fix

    jamesdolezal committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    1d11322 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa1b4d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83e5962 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    147b3dd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    070abdf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cd6bd79 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    30e18fe View commit details
    Browse the repository at this point in the history
  10. Cyclegan bug fix

    jamesdolezal committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    8a0fc6d View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    c38d6df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a45190c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7af5423 View commit details
    Browse the repository at this point in the history
  4. Add TIFF support for tile -> tfrecord functions

    Add TIFF suppport for:
    - sf.io.write_tfrecords_single
    - sf.io.write_tfrecords_multi
    jamesdolezal committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b1359cb View commit details
    Browse the repository at this point in the history
  5. Typo fix

    jamesdolezal committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    ca4c9c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    be8b015 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d772b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65b4ca1 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. MIL eval updates

    - Save MIL parameters (`mil_params.json`) when evaluating an MIL model
    - New `get_mil_tile_predictions()` returns a pandas dataframe of predictions
    jamesdolezal committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    be58157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76773de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf1597f View commit details
    Browse the repository at this point in the history
  4. Apply softmax to MIL UQ

    jamesdolezal committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    8ea03e8 View commit details
    Browse the repository at this point in the history
  5. New FastAI MIL params: drop_last and save_monitor

    - `drop_last`: drop the last non-full training batch (defaults to True)
    - `save_monitor`: Set the monitored parameter during training that triggers a model to be saved. Defaults to "valid_loss"
    - Forward compatibility added for upcoming FastAI configurations by ignoring (and warning about) unrecognized configuration parameters, rather than raising an error.
    jamesdolezal committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    943cf3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7ee4238 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Configuration menu
    Copy the full SHA
    b6204bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    360959b View commit details
    Browse the repository at this point in the history
  3. Add forward compatibility for new MIL hyperparameters

    - This adds forward compatibility for new MIL hyperparameters. If an MIL model is loaded with unrecognized hyperparameters, the default behavior will be to log a warning message and ignore the hyperparameter. When loading a model with `sf.mil.util.load_model_weights()`, the `strict` parameter controls whether an unrecognized hyperparameter raises an error or if a warning message is instead logged.
    jamesdolezal committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    0a4716f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c16060 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    b74d3d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    b143b6d View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    d874417 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16d96e2 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    c4e5797 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Add stain augmentation (without normalization) for:

    - Macenko (OpenCV and PyTorch)
    - Reinhard (PyTorch)
    - Define new `v2` augmentation space
    jamesdolezal committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c1006fd View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    626a5c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d960f26 View commit details
    Browse the repository at this point in the history
  3. Bug fixes

    jamesdolezal committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    f9698ca View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    6616964 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c19a953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1f2556 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16c234d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f767f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f1b220 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2958be3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d491f2d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    709a185 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0e4c718 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    01df003 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f92269b View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    41c9021 View commit details
    Browse the repository at this point in the history
  2. Segmentation models - multiclass support, bug fixes

    - Add multiclass support to segmentation models
    - Various bug fixes with segmentation training
    jamesdolezal committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    84f31ce View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Segmentation updates

    - Multilabel segmentation support for qc.Segment
    jamesdolezal committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    3c4acca View commit details
    Browse the repository at this point in the history
  2. Fix rare "LiveError" when generating feature bags.

    - Error is raised when a dataset has old/outdated index files that need regenerated. This fix circumvents the problem by regenerating index files before calculating/exporting features.
    jamesdolezal committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    10c3da0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff2fdda View commit details
    Browse the repository at this point in the history
  4. Segmentation updates

    - Add segmentation documentation
    - Switch from `loss_mode` to `mode`; add `lr` parameter
    - Auto-detect `out_classes` from segmentation labels
    jamesdolezal committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f5c16f6 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Bug fixes

    - Fix bug with GPU stain augmentation in PyTorch (ValueError: Stain augmentation (n) requires a stain normalizer, which was not provided)
    - Fix "AssertionError: Input tensor must be float" for some PyTorch models deployed in Studio
    - Fix edge case where there is 1 tile in a slide
    - Fix bug in Studio in instances where there are no tiles in a slide (e.g. a JPEG image smaller than the tile size)
    jamesdolezal committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    6f6fee4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfe2d13 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe73931 View commit details
    Browse the repository at this point in the history
  4. Cell segmentation updates / fixes

    - New refresh button for loading in user-trained cellpose models
    - Fix error raised with whole-slide cell segmentation in Studio
    jamesdolezal committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    30c3e1e View commit details
    Browse the repository at this point in the history
  5. Cellpose widget bug fixes

    - Fix inconsistent transparency issues with cell mask viewing in Studio
    jamesdolezal committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    a168aee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    77b4fe7 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #340 from jamesdolezal/otsu_outside

    Small fix: flip mask in outsu if `roi_method == outside`
    jamesdolezal committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    4611c3e View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Expand group-level reduction support for arbitrary functions

    - Reducing tile-level predictions into slide- and patient-level predictions can now be done using arbitrary callable functions, by passing a callable function (e.g. lambda) to the argument `reduce_method`. Additional supported functions now also include 'median', 'sum', 'min', and 'max'.
    jamesdolezal committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    45fc4e6 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    9222c08 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    789bb70 View commit details
    Browse the repository at this point in the history
  2. Remove experimental CGRH

    jamesdolezal committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    744d451 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07882be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    65cdac0 View commit details
    Browse the repository at this point in the history
  5. Documentation updates

    jamesdolezal committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    c941589 View commit details
    Browse the repository at this point in the history
  6. Documentation updates

    jamesdolezal committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    67e0f5d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1e64afc View commit details
    Browse the repository at this point in the history