|
| 1 | +DeepLabCut Benchmark |
| 2 | +==================== |
| 3 | + |
| 4 | +[`[[ benchmark.deeplabcut.org ]]` ](https://benchmark.deeplabcut.org) |
| 5 | + |
| 6 | +Welcome to the DeepLabCut benchmark! |
| 7 | +This repo hosts all submitted results, which are available at [benchmark.deeplabcut.org](https://benchmark.deeplabcut.org). |
| 8 | +If you are interested in submitting to the benchmark, please find detailed instructions on [benchmark.deeplabcut.org/submission](https://benchmark.deeplabcut.org/submission). |
| 9 | + |
| 10 | + |
| 11 | +Quickstart for developers |
| 12 | +------------------------- |
| 13 | + |
| 14 | +The mandatory requirements for *building the benchmark page* can be installed via |
| 15 | + |
| 16 | +``` bash |
| 17 | +$ pip install -r requirements.txt |
| 18 | +``` |
| 19 | + |
| 20 | +The (non-public) ground truth data needs to be present in `benchmark/data`. Check that this is the case by running |
| 21 | + |
| 22 | +``` bash |
| 23 | +find benchmark/data -type f |
| 24 | +benchmark/data/CollectedData_Mackenzie.h5 |
| 25 | +benchmark/data/CollectedData_Daniel.h5 |
| 26 | +benchmark/data/CollectedData_Valentina.h5 |
| 27 | +benchmark/data/CollectedData_Mostafizur.h5 |
| 28 | +``` |
| 29 | + |
| 30 | +For using all functionalities of this package and re-running evaluations, a [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut/blob/master/docs/installation.md) installation is additionally required. |
| 31 | + |
| 32 | +Check that the package works as expected by running |
| 33 | + |
| 34 | +``` bash |
| 35 | +python -m pytest tests |
| 36 | +``` |
| 37 | + |
| 38 | +which should finish without errors or warnings. |
| 39 | + |
| 40 | +To re-evaluate all available models, run |
| 41 | + |
| 42 | +``` bash |
| 43 | +$ python -m benchmark |
| 44 | +``` |
| 45 | + |
| 46 | +or, if you want to run in debugging mode, |
| 47 | + |
| 48 | +``` bash |
| 49 | +python -m benchmark --nocache --onerror raise |
| 50 | +``` |
| 51 | + |
| 52 | +from the repository root. |
| 53 | + |
| 54 | +To manually build the documentation, run |
| 55 | + |
| 56 | +``` bash |
| 57 | +$ make deploy |
| 58 | +``` |
0 commit comments