hideandseek
Highly modularized deep learning training library.
Why use hideandseek?
-
Only code the experiment specific parts of ANN experiment (dataset, nn.Module definition, criterion, forward pass)
-
Define every ANN experiment parameters in keyword argument, for easy experimental control
-
Takes care of every other logistics (logging, device type matching, amp, random batching control)
-
Easy training & saving deep learning models along with other modules (ex: preprocessing modules) required in inference
-
Run multiple deep learning experiments in parallel on multiples GPUs (powered by hydra, and python multiprocessing)
-
Design and analyze experiments scientifically by modifying variables (powered by hydra)
-
Modularized machine learning pipeline allows using the same script for all types of experiments
-
The same training code can be run in privacy preserving setting by minimal modifications
Look at Simple/train.py for simple run cases
Single run:
python train.py lr=1e-3 batch_Size=32 random_seed=0
Multirun with batch of experiments (Hyperparameter sweep):
python train.py -m lr=1e-3,1e-2 batch_size=32,64 "random_seed=range(0,5)" \
hydra/launcher=joblib hydra.launcher.n_jobs=8
# Runs total of 2*2*5=40 batch of experiments, with 8 processes at a time. Experiment results are stored in hydra.sweep.dir which can be overridden.
To do
- Draw figures to explain hideandseek
-
.pybased tutorial - `.ipynb' based tutorial
- GUI for generating experiment scripts when conducting variable sweeps
Metadata
Release files for hideandseek 0.3.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hideandseek-0.3.31.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hideandseek-0.3.31-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.2 kB
Release files / hideandseek-0.3.31.tar.gz
| Download URL | hideandseek-0.3.31.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c512dda89ec093b744104baf2e5ca4f46bc9282f384d3a68d930ad73495658c2
|
|
BLAKE2b-256 checksum How to use checksums |
1fbc8a5c5de4e70523e55c7426f82b7a1aaef5b01c53798eb936f1644b80b2e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / hideandseek-0.3.31-py3-none-any.whl
| Download URL | hideandseek-0.3.31-py3-none-any.whl |
|---|---|
| Size | 34.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4699785f5689ebbdc616c0e526ca760ef464fc4a0e860ee9321acff28f81b725
|
|
BLAKE2b-256 checksum How to use checksums |
b95bd3347ed7579b049a0ab831b8c9911df78a723d04b2000561dad82426d025
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|