Skip to main content

Add your description here

Project description

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.

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

lighter_zoo-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lighter_zoo-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file lighter_zoo-0.1.3.tar.gz.

File metadata

  • Download URL: lighter_zoo-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.24

File hashes

Hashes for lighter_zoo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0efb32a9a0e177d5241c0d734de56953d7cfadfc72dc11293661952477c06d3a
MD5 707a6734dfa97b3f67921856494dd01b
BLAKE2b-256 38d9a23b1601ab77823afbca3e3520b18522e9df345d6d6a945bd5ddadff978c

See more details on using hashes here.

File details

Details for the file lighter_zoo-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lighter_zoo-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0709293d99b63db83979feef84f4465fc64f016ac5f18886f583a73c76384c19
MD5 2e4f851a95f431fe1ce2e00ef7e4c602
BLAKE2b-256 3308860eaa61b8f0387cb9908f7de60564a97d8eef519ae610c81bbbba0988f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page