a tensorflow-based pipeline for tuning deep learning model hyperparameters with a simple guided hyperparameter search strategy.
- Custom Model (
SuperbModel): A basic multi layer perceptron with batch normalization, dropout, and adaptive layer configuration. - Guided Hyperparameter Search: Hyperparameter search algorithm based on iteratively perturbing the best set of hyperparameters. Tracks training progress with validation accuracy monitoring.
model.py: DefinesSuperbModelandSuperbLayerwith customizable hyperparameters. Can be modified to implement any deep neural network structure.train_utils.py: Contains utility functions for batch sampling, status display, and training logic. The logic can be modified to implement any custom training loop.hyperparameter_search.py: Implements the guided hyperparameter search algorithm.train.py: Loads the MNIST dataset by default and executes hyperparameter search.
-
Install dependencies:
pip install tensorflow numpy -
Run hyperparameter search: python train.py
-
Modify train.py, model.py, train_utils.py to implement custom architectures and use different datasets.