YAML-based automated rapid prototyping framework for deep learning experiments
Project description
With lighter
, focus on your deep learning experiments and forget about boilerplate through:
- Task-agnostic training logic already implemented for you (classification, segmentation, self-supervised, etc.)
- Configuration-based approach that will ensure that you can always reproduce your experiments and know what hyperparameters you used.
- Extremely simple integration of custom models, datasets, transforms, or any other components to your experiments.
lighter
stands on the shoulder of these two giants:
- MONAI Bundle - Configuration system. Similar to Hydra, but with additional features.
- PyTorch Lightning - Our
LighterSystem
is based on the PyTorch LightningLightningModule
and implements all the necessary training logic for you. Couple it with the PyTorch Lightning Trainer and you're good to go.
Simply put, lighter = config(trainer + system)
😇
📖 Usage
🚀 Install
Current release:
pip install project-lighter
Pre-release (up-to-date with the main branch):
pip install project-lighter --pre
For development:
make setup
make install # Install lighter via Poetry
make pre-commit-install # Set up the pre-commit hook for code formatting
poetry shell # Once installed, activate the poetry shell
💡 Projects
Projects that use lighter
:
Project | Description |
---|---|
Foundation Models for Quantitative Imaging Biomarker Discovery in Cancer Imaging | A foundation model for lesions on CT scans that can be applied to down-stream tasks related to tumor radiomics, nodule classification, etc. |
📄 Cite:
If you find lighter
useful in your research or project, please consider citing it:
@software{lighter,
author = {Ibrahim Hadzic and
Suraj Pai and
Keno Bressem and
Hugo Aerts},
title = {Lighter},
publisher = {Zenodo},
doi = {10.5281/zenodo.8007711},
url = {https://doi.org/10.5281/zenodo.8007711}
}
We appreciate your support!
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file project_lighter-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: project_lighter-0.0.2-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf7d3a6f33fbfc6d81b114a60df51521226894e06a0bc99ac0b47e9f3f3727f |
|
MD5 | 36107c7afb4bb131cf3cd78d7c6c6ebc |
|
BLAKE2b-256 | 63de45f0d5c20176d4f3fc4be98542624e60223948a0ee4011d5a4305de74384 |