# Mapillary Vistas Dataset (MVD) Evaluation Scripts This repository contains scripts to run evaluations on MVD predictions (e.g. on training and on validation data), and additionally form the basis of our evaluation server. Consequently, successfully running these scripts on machine-generated results helps to validate the predictor's output format required by the evaluation server. ## Usage The main entry point is `mapillary_vistas/tools/evaluation.py`. The following command line options are mandatory: - `-c`, `--config` provide location of the config file distributed with your downloaded copy of MVD. - `-g`, `--ground-truth-labels` provide path to the instance-specific ground truth label files distributed with MVD. - `-p`, `--prediction-labels` provide path to your predictions. The expected files are 8bit grayscale encoding in PNG format and pixel values are treated as indices for the label list in the config file. Both flags `-l` and `-p` assume that all generated files are located within the same, specified folder location. The most important optional command line parameters are: - `-i`, `--instances` provide path to the instance-specific prediction folder. For every ground truth file, the script looks for a file with the same name in the `--instances` folder, but with `.txt` extension. Every prediction for an image is stored in a separate line with format `