Installation
To install the lighter-zoo package, use pip:
pip install lighter-zoo
Example Usage
# Import the SegResNet model from lighter_zoo
from lighter_zoo import SegResNet
# Create a 3D segmentation model for whole body segmentation
model = SegResNet(
spatial_dims=3, # 3D input volumes
in_channels=1, # Single channel input (e.g. CT or MRI)
out_channels=118, # Number of segmentation classes
init_filters=32, # Initial number of filters in first conv layer
blocks_down=[1, 2, 2, 4, 4], # Number of residual blocks in each downsampling stage
dsdepth=4 # Depth of deep supervision
)
# Load pretrained weights from the whole body segmentation model
model.from_pretrained("project-lighter/whole_body_segmentation")
This example demonstrates how to load the SegResNet model with pre-trained weights for whole-body segmentation.
Available Models
The following models are currently available in the Lighter-Zoo:
- SegResNet: A 3D segmentation model based on the MONAI implementation.
More models will be added in the future.
Contributing
Contributions are welcome! If you have a pre-trained model you would like to share, please submit a pull request.
License
This project is licensed under the Apache 2.0 License.
Metadata
Release files for lighter-zoo 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lighter_zoo-0.1.3.tar.gz | 3.2 kB | Without provenance | Details for lighter_zoo-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lighter_zoo-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for lighter_zoo-0.1.3-py3-none-any.whl |
Total release size: 7.2 kB
Release files / lighter_zoo-0.1.3.tar.gz
| Download URL | lighter_zoo-0.1.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0efb32a9a0e177d5241c0d734de56953d7cfadfc72dc11293661952477c06d3a
|
|
BLAKE2b-256 checksum How to use checksums |
38d9a23b1601ab77823afbca3e3520b18522e9df345d6d6a945bd5ddadff978c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.24
|
Release files / lighter_zoo-0.1.3-py3-none-any.whl
| Download URL | lighter_zoo-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0709293d99b63db83979feef84f4465fc64f016ac5f18886f583a73c76384c19
|
|
BLAKE2b-256 checksum How to use checksums |
3308860eaa61b8f0387cb9908f7de60564a97d8eef519ae610c81bbbba0988f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.24
|
Security for lighter-zoo 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.