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.31.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc94f84ef9da62d551fedbfd9b1a96511b13a33ee82a5e4ffef2a7f163a51c7 |
|
MD5 | 82a32ccf39a1b54b8a97df9e856251a5 |
|
BLAKE2b-256 | ee2332fd16aa13099866365f93d89e6698dc1aca72cbf8d462cf214096dc47fb |
Hashes for powerful_benchmarker-0.9.31.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b0d58c1d5f50ce592cdd06e87a8d643b2a57bcfa06e50d48b23b74fba4d19c |
|
MD5 | e9b56f0747af14323e3c476a47ba0525 |
|
BLAKE2b-256 | bd1cd4eb4ce1eb95f0ac34b400d2731c171b9597cedb5e59bff9462e936c9b9d |