A highly-configurable tool that enables thorough evaluation of deep metric learning algorithms.
Project description
Powerful Benchmarker
Documentation
A Metric Learning Reality Check
This library was used for A Metric Learning Reality Check. See the documentation for supplementary material.
Benchmark results:
Benefits of this library
- Highly configurable:
- Yaml files for organized configuration
- A powerful command line syntax that allows you to merge, override, swap, apply, and delete config options.
- Customizable:
- Benchmark your own losses, miners, datasets etc. with a simple function call.
- Easy hyperparameter optimization:
- Append the ~BAYESIAN~ flag to the names of hyperparameters you want to optimize.
- Extensive logging:
- View experiment data in tensorboard, CSV and SQLite format.
- Reproducible:
- Config files are saved with each experiment and are easily reproduced.
- Trackable changes:
- Keep track of changes to an experiment's configuration.
Installation
pip install powerful-benchmarker
Citing the benchmark results
If you'd like to cite the benchmark results, please cite this paper:
@misc{musgrave2020metric,
title={A Metric Learning Reality Check},
author={Kevin Musgrave and Serge Belongie and Ser-Nam Lim},
year={2020},
eprint={2003.08505},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
Citing the code
If you'd like to cite the powerful-benchmarker code, you can use this bibtex:
@misc{Musgrave2019,
author = {Musgrave, Kevin and Lim, Ser-Nam and Belongie, Serge},
title = {Powerful Benchmarker},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/KevinMusgrave/powerful-benchmarker}},
}
Acknowledgements
Thank you to Ser-Nam Lim at Facebook AI, and my research advisor, Professor Serge Belongie. This project began during my internship at Facebook AI where I received valuable feedback from Ser-Nam, and his team of computer vision and machine learning engineers and research scientists.
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
Built Distribution
Hashes for powerful-benchmarker-0.9.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b4bcc0ac1c65944a5cd6179d8864e82c122a5a93daa5b410433e801f54968e |
|
MD5 | 88c8d8e776e59fa405ba5fe5298da7ca |
|
BLAKE2b-256 | 0a0d82ca2c0245371c5567c9cedf17733709d54233e5dcc146d118594126e6ee |
Hashes for powerful_benchmarker-0.9.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1483f18328e6ffd4f82f0fd27f9bbd670ae4659c80a0d932b58850a963e1d353 |
|
MD5 | 54ca75c13fff6e42d5a7ee9a725ed5c7 |
|
BLAKE2b-256 | 396302bb2d1a28af3aeed1ff065ff9a16fa110a44f6fbb96a5d3a1dfeb47e45a |