Repository of model architectures and network weights used for CellMap segmentations.
Project description
cellmap-models
This package contains the models used for segmention by the CellMap project team at HHMI Janelia.
Installation
We strongly recommend installing within a conda (or mamba) environment to install the package.
conda env create -y -n cellmap python=3.10 pytorch -c pytorch
conda activate cellmap
pip install cellmap-models
Usage
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:
import cellmap_models.cosem as cosem_models
print(cosem_models.models_list)
This will list the available models. To load a specific model, use the load_model
function:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cellmap_models-0.1.0.tar.gz
.
File metadata
- Download URL: cellmap_models-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7869fc0e5018e19a448192734c8f506827e28486fc97c512a359dd85a14a67e3 |
|
MD5 | b55974e5e26673bc85d5a0473938e78a |
|
BLAKE2b-256 | efef4bf07d26d1727da20cc45a5966a262521d7557df397c3f9193ae42b2f6f9 |
File details
Details for the file cellmap_models-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: cellmap_models-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec055e28654c59102ec32c990cc816cd94f7e8d2f04bfe62cb427ff8171df5b |
|
MD5 | a0c0a0283c93ecbf35750df9fcf22f71 |
|
BLAKE2b-256 | fe97c79bfb5574a359ada3edf0eae9ee0aa19867da0e1fd012ba6037f3ac168d |