-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #338 from kreshuklab/qy/unify-prediction
Add `bioimageio.core` inference for BioImage.IO Model Zoo models
- Loading branch information
Showing
26 changed files
with
470 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- qy/mask-pred | ||
- qy/unify-prediction | ||
|
||
permissions: | ||
contents: write | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,6 @@ docs/_build/ | |
|
||
# Codecov | ||
.coverage | ||
|
||
# macOS | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ requirements: | |
build: | ||
- python | ||
- pip | ||
- setuptools | ||
|
||
run: | ||
- python >=3.9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Hierarchical Design of PlantSeg | ||
|
||
PlantSeg is organized into three layers: | ||
|
||
1. Functionals (Python API): The foundational layer of PlantSeg, providing its core functionality. This layer can be accessed directly in Python scripts or Jupyter notebooks. | ||
2. Tasks: The intermediate layer of PlantSeg, which encapsulates the functionals to handle resource management and support distributed computing. | ||
3. Napari Widgets: The top layer of PlantSeg, which integrates tasks into user-friendly widgets for easy interaction within graphical interfaces. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: plant-seg-dev | ||
channels: | ||
- pytorch | ||
- conda-forge | ||
# `defaults` is optional, unless e.g. `conda-forge` has no cudnn 9.* when `defaults` has. | ||
# `defaults` of Anaconda is not accessible for many non-profit institutes such as EMBL. | ||
# - defaults | ||
dependencies: | ||
- python | ||
# Neural Network and GPU | ||
- pytorch::pytorch | ||
- torchvision | ||
# Bioimage and CV | ||
- tifffile | ||
- h5py | ||
- zarr | ||
- vigra | ||
- python-elf | ||
- python-graphviz | ||
- scikit-image | ||
- bioimageio.core>=0.6.5 | ||
# GUI | ||
- pyqt | ||
- napari | ||
# Other | ||
- requests | ||
- pyyaml | ||
- pydantic>2,<2.10 # 2.10 cause problem spec-bioimage-io/issues/663 | ||
# Test | ||
- pytest | ||
- pytest-qt | ||
- pytest-mock | ||
- requests-mock | ||
# CI/CD | ||
- pre-commit | ||
- bump-my-version | ||
# Docs | ||
- mkdocs-material | ||
- mkdocs-autorefs | ||
- mkdocs-git-revision-date-localized-plugin | ||
- mkdocs-git-committers-plugin-2 | ||
- mkdocstrings-python | ||
- pip: | ||
- markdown-exec | ||
# PlantSeg | ||
- -e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from plantseg.functionals.prediction.prediction import unet_prediction | ||
from plantseg.functionals.prediction.prediction import biio_prediction, unet_prediction | ||
|
||
# Use __all__ to let type checkers know what is part of the public API. | ||
__all__ = [ | ||
"unet_prediction", | ||
"biio_prediction", | ||
] |
Oops, something went wrong.