lavlab-shell 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/PKG-INFO +1 -1
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/__about__.py +1 -1
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/infer_omero_wsi.py +3 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/inference.py +1 -1
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.devcontainer/Dockerfile +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.editorconfig +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.github/dependabot.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.github/workflows/build.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.github/workflows/lint.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.github/workflows/publish.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.github/workflows/pytest.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.gitignore +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/.pre-commit-config.yaml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/CONTRIBUTING.md +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/Dockerfile +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/LICENSE.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/Makefile +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/README.md +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/docs/api.md +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/docs/index.md +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/mkdocs.yml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/pyproject.toml +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/requirements/requirements-docs.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/requirements/requirements-lint.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/requirements/requirements-test.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/requirements/requirements-types.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/requirements.txt +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/__init__.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/benchmark.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/cli.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/infer_wsi.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/model.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/py.typed +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/transforms.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/src/shell/weights/model_v1.pth +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/tests/__init__.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/tests/conftest.py +0 -0
- {lavlab_shell-0.3.1 → lavlab_shell-0.3.2}/tests/test_shell.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lavlab-shell
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: SHELL Highlights Epithelium and Lumen Locations — whole-slide H&E segmentation
|
|
5
5
|
Project-URL: Documentation, https://github.com/laviolette-lab/shell#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/laviolette-lab/shell/issues
|
|
@@ -1689,6 +1689,7 @@ def infer_omero_wsi(
|
|
|
1689
1689
|
save_eho=save_eho,
|
|
1690
1690
|
output_path=output_path,
|
|
1691
1691
|
tile_overlap=tile_overlap,
|
|
1692
|
+
roi_size=inference_tile_size,
|
|
1692
1693
|
sw_overlap=sw_overlap,
|
|
1693
1694
|
num_fetch_workers=num_fetch_workers,
|
|
1694
1695
|
)
|
|
@@ -1736,6 +1737,7 @@ def _run_pipeline(
|
|
|
1736
1737
|
save_eho: str | None,
|
|
1737
1738
|
output_path: str,
|
|
1738
1739
|
tile_overlap: int,
|
|
1740
|
+
roi_size: int,
|
|
1739
1741
|
sw_overlap: float,
|
|
1740
1742
|
num_fetch_workers: int = 4,
|
|
1741
1743
|
) -> np.ndarray:
|
|
@@ -1842,6 +1844,7 @@ def _run_pipeline(
|
|
|
1842
1844
|
tile_eho,
|
|
1843
1845
|
model,
|
|
1844
1846
|
device,
|
|
1847
|
+
roi_size=(roi_size, roi_size),
|
|
1845
1848
|
overlap=sw_overlap,
|
|
1846
1849
|
)
|
|
1847
1850
|
del tile_eho
|
|
@@ -40,7 +40,7 @@ from torch.amp import autocast
|
|
|
40
40
|
# ---------------------------------------------------------------------------
|
|
41
41
|
# Default inference parameters
|
|
42
42
|
# ---------------------------------------------------------------------------
|
|
43
|
-
VAL_ROI_SIZE: tuple[int, int] = (
|
|
43
|
+
VAL_ROI_SIZE: tuple[int, int] = (2048, 2048)
|
|
44
44
|
VAL_SW_BATCH: int = 16
|
|
45
45
|
VAL_SW_OVERLAP: float = 0.25
|
|
46
46
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|