fast-reid/projects/HPOReID/README.md

567 B

Hyper-Parameter Optimization in FastReID

This project includes training reid models with hyper-parameter optimization.

Install the following

pip install 'ray[tune]'
pip install hpbandster ConfigSpace hyperopt

Example

This is an example for tuning batch_size and num_instance automatically.

To train hyperparameter optimization with BOHB(Bayesian Optimization with HyperBand) search algorithm, run

python3 projects/HPOReID/train_hpo.py --config-file projects/HPOReID/configs/baseline.yml --srch-algo "bohb"

Known issues

todo