-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 💩 Change name to cellmap-models (from cellmap.models)
- Loading branch information
1 parent
4c77da9
commit 224842d
Showing
33 changed files
with
102 additions
and
10 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
* cellmap.models version or commit: | ||
* cellmap-models version or commit: | ||
* Python version: | ||
* Operating System: | ||
|
||
|
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 |
---|---|---|
|
@@ -15,4 +15,4 @@ jobs: | |
run: | | ||
pip install . | ||
pip install --upgrade mypy | ||
mypy src/cellmap.models | ||
mypy src/cellmap-models |
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,56 @@ | ||
Metadata-Version: 2.1 | ||
Name: cellmap_models | ||
Version: 0.0.0 | ||
Summary: Repository of model architectures and network weights used for CellMap segmentations. | ||
Author-email: CellMap <[email protected]> | ||
License: BSD 3-Clause License | ||
Project-URL: homepage, https://github.com/janelia-cellmap/cellmap-models | ||
Project-URL: repository, https://github.com/janelia-cellmap/cellmap-models | ||
Classifier: Programming Language :: Python :: 3 | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/markdown | ||
Requires-Dist: torch | ||
Requires-Dist: torchvision | ||
Requires-Dist: numpy | ||
Requires-Dist: tqdm | ||
Provides-Extra: dev | ||
Requires-Dist: pytest; extra == "dev" | ||
Requires-Dist: pytest-cov; extra == "dev" | ||
Requires-Dist: black; extra == "dev" | ||
Requires-Dist: mypy; extra == "dev" | ||
Requires-Dist: pdoc; extra == "dev" | ||
Requires-Dist: pre-commit; extra == "dev" | ||
|
||
# cellmap-models | ||
|
||
[![tests](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/tests.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/tests.yaml) | ||
[![black](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/black.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/black.yaml) | ||
[![mypy](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/mypy.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/mypy.yaml) | ||
[![codecov](https://codecov.io/gh/janelia-cellmap/cellmap-models/branch/main/graph/badge.svg)](https://codecov.io/gh/janelia-cellmap/cellmap-models) | ||
|
||
This package contains the models used for segmention by the CellMap project team at HHMI Janelia. | ||
|
||
## Installation | ||
|
||
```bash | ||
git clone https://github.com/janelia-cellmap/cellmap-models | ||
cd cellmap-models | ||
conda env create -n cellmap python=3.10 | ||
conda activate cellmap | ||
pip install . | ||
``` | ||
|
||
## Usage | ||
|
||
```python | ||
import cellmap-models | ||
``` | ||
|
||
Different models are available in the `cellmap-models` module. For example, to use the models produced by the `COSEM` pilot project team, and published as part of [Whole-cell organelle segmentation in volume electron microscopy](https://doi.org/10.1038/s41586-021-03977-3): | ||
|
||
```python | ||
import cellmap-models.cosem as cosem_models | ||
model = cosem_models.load_model('setup04/1820500') | ||
``` | ||
|
||
More information on each set of models and how to use them is available in the `README.md` file in the corresponding subdirectory. |
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,21 @@ | ||
README.md | ||
pyproject.toml | ||
src/cellmap_models/__init__.py | ||
src/cellmap_models/utils.py | ||
src/cellmap_models.egg-info/PKG-INFO | ||
src/cellmap_models.egg-info/SOURCES.txt | ||
src/cellmap_models.egg-info/dependency_links.txt | ||
src/cellmap_models.egg-info/requires.txt | ||
src/cellmap_models.egg-info/top_level.txt | ||
src/cellmap_models/pytorch/__init__.py | ||
src/cellmap_models/pytorch/cosem/__init__.py | ||
src/cellmap_models/pytorch/cosem/load_model.py | ||
src/cellmap_models/pytorch/cosem/setup04/__init__.py | ||
src/cellmap_models/pytorch/cosem/setup04/model.py | ||
src/cellmap_models/pytorch/cosem/setup28/__init__.py | ||
src/cellmap_models/pytorch/cosem/setup28/model.py | ||
src/cellmap_models/pytorch/cosem/setup36/__init__.py | ||
src/cellmap_models/pytorch/cosem/setup36/model.py | ||
src/cellmap_models/pytorch/cosem/setup45/__init__.py | ||
src/cellmap_models/pytorch/cosem/setup45/model.py | ||
tests/test_assert.py |
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 @@ | ||
|
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,12 @@ | ||
torch | ||
torchvision | ||
numpy | ||
tqdm | ||
|
||
[dev] | ||
pytest | ||
pytest-cov | ||
black | ||
mypy | ||
pdoc | ||
pre-commit |
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 @@ | ||
cellmap_models |
File renamed without changes.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...map-models/pytorch/cosem/setup04/model.py → ...map_models/pytorch/cosem/setup04/model.py
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...p-models/pytorch/cosem/setup26.1/model.py → ...p_models/pytorch/cosem/setup26.1/model.py
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...map-models/pytorch/cosem/setup28/model.py → ...map_models/pytorch/cosem/setup28/model.py
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...map-models/pytorch/cosem/setup36/model.py → ...map_models/pytorch/cosem/setup36/model.py
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...map-models/pytorch/cosem/setup45/model.py → ...map_models/pytorch/cosem/setup45/model.py
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
File renamed without changes.