Skip to content

Commit 4950020

Browse files
committed
chore: bump version, up readme, changelog
1 parent 345b4bd commit 4950020

12 files changed

+30
-34
lines changed

BENCHMARKS.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ The model latencies depend on the hardware. I'll benhmark the latencies on my la
4545

4646
**Pannuke** and **Lizard** datasets are divided in three splits. For these datasets, we report the mean of the 3-fold cross-validation. The **CIN2** and **HGSOC** datasets contain only a training splits and relatively small validation splits, thus, for those datasets we report the metrics on the validation split.
4747

48-
#### Regularization methods
49-
50-
The models are regularized during training via multiple regularization techniques to tackle distrubution shifts. Specific techniques (among augmentations) that are used in this benchmark are:
51-
52-
- [Spectral decoupling](https://arxiv.org/abs/2011.09468)
53-
- [Label Smoothing](https://arxiv.org/abs/1512.00567)
54-
- [Spatially Varying Label Smoothing](https://arxiv.org/abs/2104.05788)
55-
5648
#### Pre-trained backbone encoders
5749

5850
All the models are trained/fine-tuned with an IMAGENET pre-trained backbone encoder that is naturally reported.
@@ -77,12 +69,11 @@ Note that even if these benchmarks are not SOTA or differ from the original manu
7769
| ---------------------- | ----------------------------------------- |
7870
| Optimizer | [AdamP](https://arxiv.org/abs/2006.08217) |
7971
| Auxilliary Branch Loss | MSE-SSIM |
80-
| Type Branch Loss | Focal-DICE |
81-
| Encoder LR | 0.00005 |
82-
| Decoder LR | 0.0005 |
72+
| Type Branch Loss | IoU-DICE |
73+
| LR | Lightning in-built auto-lr-finder |
8374
| Scheduler | Reduce on plateau |
8475
| Batch Size | 10 |
85-
| Training Epochs | 50 |
76+
| Training Epochs | 100 |
8677
| Augmentations | Blur, Hue Saturation |
8778

8879
#### Results Lizard
@@ -94,3 +85,5 @@ Same as above.
9485
##### Patching Set-up
9586

9687
##### Sliding-window Inference Hyperparams
88+
89+
## The Great Regularization Benchmark

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
<a id='changelog-0.1.20'></a>
2+
3+
# 0.1.20 — 2023-01-13
4+
5+
## Fixes
6+
7+
- Enable only writing folder&hdf5 datasets with only images
8+
- Enable writing datasets without patching.
9+
10+
- Add long missing h5 reading utility function to `FileHandler`
11+
12+
## Features
13+
14+
- Add hdf5 input file reading to `Inferer` classes.
15+
16+
- Add option to write pannuke dataset to h5 db in `PannukeDataModule` and `LizardDataModule`.
17+
18+
- Add a generic model builder function `get_model` to `models.__init__.py`
19+
20+
- Rewrite segmentation benchmarker. Now it can take in hdf5 datasets.
21+
122
<a id='changelog-0.1.19'></a>
223

324
# 0.1.19 — 2023-01-04

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ pip install cellseg-models-pytorch[all]
7474

7575
- [Training Stardist with Pannuke](https://github.com/okunator/cellseg_models.pytorch/blob/main/examples/pannuke_nuclei_segmentation_stardist.ipynb). Train the Stardist model with constant sized Pannuke patches.
7676
- [Training Cellpose with Lizard](https://github.com/okunator/cellseg_models.pytorch/blob/main/examples/lizard_nuclei_segmentation_cellpose.ipynb). Train the Cellpose model with Lizard dataset that is composed of varying sized images.
77+
- [Benchmarking Cellpose Trained on Pannuke](https://github.com/okunator/cellseg_models.pytorch/blob/main/examples/pannuke_cellpose_benchmark.ipynb). Benchmark Cellpose trained on Pannuke. Both the model performance and latency.
7778

7879
## Code Examples
7980

cellseg_models_pytorch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from . import inference, models, utils
22
from .models import CellPoseUnet, HoverNet, StarDistUnet
33

4-
__version__ = "0.1.19"
4+
__version__ = "0.1.20"
55
submodules = ["utils", "models", "inference"]
66
__all__ = [
77
"__version__",

changelog.d/20230113_170849_oskari.lehtonen.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog.d/20230113_171230_oskari.lehtonen.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/20230113_171503_oskari.lehtonen.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/20230113_171853_oskari.lehtonen.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/20230113_172102_oskari.lehtonen.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/20230113_172259_oskari.lehtonen.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)