Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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
LighterSystemis based on the PyTorch LightningLightningModuleand 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!
Metadata
Release files for project-lighter 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| project_lighter-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / project_lighter-0.0.2-py3-none-any.whl
| Download URL | project_lighter-0.0.2-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cf7d3a6f33fbfc6d81b114a60df51521226894e06a0bc99ac0b47e9f3f3727f
|
|
BLAKE2b-256 checksum How to use checksums |
63de45f0d5c20176d4f3fc4be98542624e60223948a0ee4011d5a4305de74384
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|