Skip to main content

tba

Project description

Generic badge Code style: black

DLC2Action is an action segmentation package that makes running and tracking of machine learning experiments easy.

Installation

Via the Python Package Index

You can simply install DLC2Action by typing:

pip install "dlc2action==0.2b3"

From Github

You can install DLC2Action for development by running this in your terminal.

git clone https://github.com/AlexEMG/DLC2Action
cd DLC2Action
conda create --name DLC2Action python=3.9
conda activate DLC2Action
python -m pip install .

Features

The functionality of DLC2Action includes:

  • compiling and updating project-specific configuration files,
  • filling in 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.

from dlc2action.project import Project

# create a new project
project = Project('project_name', data_type='data_type', annotation_type='annotation_type',
                  data_path='path/to/data/folder', annotation_path='path/to/annotation/folder')
# set important parameters, like the set labels you want to predict
project.update_parameters(...)
# run a training episode
project.run_episode('episode_1')
# plot the results
project.plot_episodes(['episode_1'], metrics=['recall'])
# use the model trained in episode_1 to make a prediction for new data
project.run_prediction('prediction_1', episode_names=['episode_1'], data_path='path/to/new_data/folder')

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 Liza Kozlova, Andy Bonnetto, Lucas Stoffl, Margaret Lane, Marouane Jaakik, Steffen Schneider and Mackenzie Mathis.

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!

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

dlc2action-0.2b3.tar.gz (197.8 kB view details)

Uploaded Source

Built Distribution

dlc2action-0.2b3-py3-none-any.whl (219.0 kB view details)

Uploaded Python 3

File details

Details for the file dlc2action-0.2b3.tar.gz.

File metadata

  • Download URL: dlc2action-0.2b3.tar.gz
  • Upload date:
  • Size: 197.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dlc2action-0.2b3.tar.gz
Algorithm Hash digest
SHA256 026a4d88fa8e118fc4c27855fe6395ef5ea53cfe1ce3463eabe6470da11da44f
MD5 1141ed7dd10fec144b82f3ecbfd768a0
BLAKE2b-256 f9f6b3e91e7e3fde25c665232b2f1cab95f6d117f04cefb9cb512209e2db6561

See more details on using hashes here.

File details

Details for the file dlc2action-0.2b3-py3-none-any.whl.

File metadata

  • Download URL: dlc2action-0.2b3-py3-none-any.whl
  • Upload date:
  • Size: 219.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dlc2action-0.2b3-py3-none-any.whl
Algorithm Hash digest
SHA256 206901792daa823598c4370b3a3d741f7a9beb0efe0aa832b2ade55c5c71dd09
MD5 9ac6f920881a48d84f52b33764d30c62
BLAKE2b-256 a17b965c2f9a0144f88ba3dd7352eb6156d6a5c439c3ebbc93fb1a9f9491dbaf

See more details on using hashes here.

Supported by

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