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.pytorch.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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cellmap_models-0.1.3.tar.gz.
File metadata
- Download URL: cellmap_models-0.1.3.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cf3506cf8284818cf21e6f0cfb4553b1ef2e7f4cf6d1362d40ece1f3c0dee7f
|
|
| MD5 |
61df8d72ecf081889efa3465fd8e1fc2
|
|
| BLAKE2b-256 |
1b8fd5abd207bcad81e9907e092531392c13d8a8ae485c9913b9d5b6868b2b99
|
File details
Details for the file cellmap_models-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cellmap_models-0.1.3-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62fb524c5485c66c6e43f85fe2ea6cae1e3917131f05da7360406fecb7d33e7b
|
|
| MD5 |
9f450e82ba0fb6b93632337cda9cbe7a
|
|
| BLAKE2b-256 |
b24c8c939926c78cddf689b31e2349cff589d75812074a75d431e3a0af00529d
|