Skip to content

Commit d990c8b

Browse files
committed
chore: update version, locks, and changelog
1 parent 5746998 commit d990c8b

File tree

5 files changed

+744
-643
lines changed

5 files changed

+744
-643
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
<a id='changelog-0.1.26'></a>
2+
# 0.1.26 — 2025-05-07
3+
4+
## Removed
5+
6+
- Removed `datamodules` module
7+
- Removed `datasets` module
8+
9+
## Refactor
10+
11+
- Refactored the whole model interface to be more user-friendly.
12+
13+
## Features
14+
15+
- Added a new `wsi` module, including:
16+
- A `SlideReader` class to read patches from a WSI slide.
17+
- Backends: Openslide, CUCIM
18+
- Adapted the reader class from HistoPrep library. Props to Jopo666
19+
- `get_sub_grids` function to get subgrids from a WSI slide. Can be used to filter the patches. Based on connected components.
20+
21+
- Added a new torch_datasets module, including:
22+
- `WSIDatasetInfer` class to run inference directly from WSIs.
23+
- Adapted the class from HistoPrep library. Props to Jopo666
24+
- `TrainDatasetH5` class to handle training data for the models from a h5 file.
25+
- `TrainDatasetFolder` class to handle training data for the models from img and label folders.
26+
27+
- Added a new `inference.WsiSegmenter`-class to handle the segmentation of WSIs.
28+
29+
- Added a new `wsi.inst_merger.InstMerger`-class to handle the merging of instance masks at image boundaries.
30+
31+
- Added `inst2gdf` and `sem2gdf` functions to `utils.vectorize` module. These functions convert efficiently instance and semantic masks to GeoDataFrame objects.
32+
33+
- Added `FileHandler.to_mat` and `FileHandler.to_gson` save functions that take in a dictionary of model output masks (output from the `Inferer`-classes) and save it to a .mat or '.feather', '.geojson', '.parquet' files.
34+
35+
## Added Dependencies
36+
37+
- Added `libpysal` dependency
38+
- Added `networkx` dependency
39+
40+
## Removed Dependencies
41+
42+
- Removed `lightning` dependency
43+
- Removed `albumentations` dependency
44+
45+
## Chore
46+
47+
- Move `FolderDatasetInfer`to `torch_datasets` module
148

249
<a id='changelog-0.1.25'></a>
350
# 0.1.25 — 2024-07-05

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ from cellseg_models_pytorch.transforms.albu_transforms import MinMaxNormalizatio
8282
# see models in https://huggingface.co/csmp-hub
8383
model = CellPose.from_pretrained(weights="hgsc_v1_efficientnet_b5")
8484

85-
8685
model.set_inference_mode()
8786

8887
# Resize to multiple of 32 of your own choosing

cellseg_models_pytorch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.1.25"
1+
__version__ = "0.1.26"
22
__all__ = ["__version__"]

0 commit comments

Comments
 (0)