Skip to main content

library for deep learning and privacy preserving deep learning

Project description

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
  • .py based tutorial
  • `.ipynb' based tutorial
  • GUI for generating experiment scripts when conducting variable sweeps

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 Distribution

hideandseek-0.3.27.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hideandseek-0.3.27-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file hideandseek-0.3.27.tar.gz.

File metadata

  • Download URL: hideandseek-0.3.27.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for hideandseek-0.3.27.tar.gz
Algorithm Hash digest
SHA256 4294377b69edd37c78d84fc28eca6df56863ad3373caff427f0bdd7f49c1ae8e
MD5 e3b1361d08bcab2164d5fb6901377cd9
BLAKE2b-256 9329eccffa0dd47398a55173808e7bf9b8d9ca2d4615117e9eabe4f94f84c65c

See more details on using hashes here.

File details

Details for the file hideandseek-0.3.27-py3-none-any.whl.

File metadata

  • Download URL: hideandseek-0.3.27-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for hideandseek-0.3.27-py3-none-any.whl
Algorithm Hash digest
SHA256 e22979dc3ebf49c5a75e682c3f1e4a053687de1065762121ed30eb71d99ed31f
MD5 68c225ab9c08b4b38e1d3220fc7905b5
BLAKE2b-256 9b0abc2b2bcd714090e30e5c1ffa16ea8bb4c5f5d92ea06831f374ba44b09905

See more details on using hashes here.

Supported by

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