🌈 DLC2Action
DLC2Action is an action segmentation package that makes running and tracking experiments easy.
🛠️ Installation
You can simply install DLC2Action by typing:
pip install dlc2action
Or you can install the latest DLC2Action for development by running this in your terminal:
git clone https://github.com/amathislab/DLC2Action
cd DLC2Action
conda create --name DLC2Action python=3.13
conda activate DLC2Action
python -m pip install .
📖 Features
The functionality of DLC2Action includes:
- a GUI for annotation, visualization and active learning
- compiling and updating project-specific configuration files,
- filling in the configuration dictionaries automatically whenever possible,
- saving training parameters and results,
- running predictions and hyperparameter searches,
- creating active learning files,
- loading hyperparameter search results in experiments and dumping them into configuration files,
- comparing new experiment parameters with the project history and loading pre-computed features (to save time) and previously created splits (to enforce consistency) when there is a match,
- filtering and displaying training, prediction and hyperparameter search history,
- plotting training curve comparisons
and more.
⚡ A quick example
You can start a new project, run an experiment, visualize it and use the trained model to make a prediction in a few lines of code:
project = Project("project", data_type="dlc_track", annotation_type="csv")
project.update_parameters(...)
project.run_default_hyperparameter_search("search")
project.run_episode("episode", load_search="search")
project.evaluate(["episode"])
project.run_prediction("prediction", episode_names=["episode"], data_path="/path/to/new/data")
📊 Benchmarks
We provide standardize benchmarks on action segmentation to help you evaluate DLC2Action's performance. Check out the benchmarks section for detailed results and comparisons.
📚 How to get more information?
Check out the examples or read the documentation for a taste of what else you can do.
🙏 Acknowledgments
DLC2Action is developed by members of the A. Mathis Group at EPFL. We are grateful to many people for feedback, alpha-testing, suggestions and contributions, in particular to Lucas Stoffl, Margaret Lane, Marouane Jaakik, Steffen Schneider and Mackenzie Mathis.
We are also grateful to the creators of the different benchmarks, as well as models that were adapted in DLC2action. In particular, the MS-TCN, the C2F-TCN, the ASFormer, the EDTCN and the MotionBERT models, and the CalMS21, the SIMBA CRIM13 and SIMBA-RAT, the OFT and EPM, the SHOT7m2 and hBABEL, and the Atari-HEAD datasets. Please refer to the benchmarks section for detailed references and consider citing these works when using them.
📝 License
Note that the software is provided "as is", without warranty of any kind, express or implied. If you use the code or data, please cite us!
📑 Reference
Stay tuned for our first publication -- any feedback on this beta release is welcome at this time. Thanks for using DLC2Action. Please reach out if you want to collaborate!
Metadata
Release files for dlc2action 1.0
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 | |
|---|---|---|---|---|
| dlc2action-1.0.tar.gz | 243.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlc2action-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 523.1 kB
Release files / dlc2action-1.0.tar.gz
| Download URL | dlc2action-1.0.tar.gz |
|---|---|
| Size | 243.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78905a9e675515c63767cd416f8dee340f6c96d635f5a580eb8b2b55c44f2522
|
|
BLAKE2b-256 checksum How to use checksums |
08b9302b1aee145d6cb4618b4e738a7e3b2de13e95a925b0201a1653cc96d21c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / dlc2action-1.0-py3-none-any.whl
| Download URL | dlc2action-1.0-py3-none-any.whl |
|---|---|
| Size | 279.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8fe15aa22f08f4a37953136bbc4bfdf8b1cec16dfc357c4e62ecf3943839e20
|
|
BLAKE2b-256 checksum How to use checksums |
e4a14507151a379b4a62ba55dbaeb875284069aff49c93c9e81e899414bb0869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for dlc2action 1.0
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.