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.28.tar.gz (22.6 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.28-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hideandseek-0.3.28.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for hideandseek-0.3.28.tar.gz
Algorithm Hash digest
SHA256 eb8830a47c989f0ae4cd7f1e56f62664968fea8cdbb11092abafe6545e44df5d
MD5 8c4a8135cc13651c2d75b4638000b31e
BLAKE2b-256 b4dc8ec2acd3b5b63633c06bd19b1e3e2bb0c22774506eac8783727edf4d3a80

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hideandseek-0.3.28-py3-none-any.whl
Algorithm Hash digest
SHA256 c48903c9b77f5a1540073eceb35b44fd16b8835e50dcba8d1c7e649a1f197355
MD5 657bbd0bc7955ffd9d7b3a52379dc976
BLAKE2b-256 2a87590599efa344fc5ab9acce7b1ef840ca0e1feffc5595a4dd0c8f2e97a319

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