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.2.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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lighter_zoo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 22f90a75d2706c1c8dfa8ecf49be9729937b92aeb3da391ded2272ac7288df3d
MD5 b199ee713f9126243727a7e285c5ea18
BLAKE2b-256 30deb9d37000aa39036c5d93c6a20a21e178ed4e84fe0b0897efbf832e7af1cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lighter_zoo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8353940604c1c7f53a3bb6c117c99403f67b95fba7d118371518024ff5b4c58a
MD5 d98ec5f89b0b2a0b30b44469cc354f39
BLAKE2b-256 e552e0c0cd3f6dbe47f6e4e6d6bf1e3f30772a042f1916a31d295ab66cc09400

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