## Metric
Submissions are evaluated on pixel-wise [F1-score](https://en.wikipedia.org/wiki/F1_score). F1-score is averaged across all pixels of 10 test images and two classes. Similarly, as it is a classification challenge

## File Format
Your submission file should be in `csv` format, with a header and columns names: `Id,Predicted`.

If you have numpy array `test_masks_prediction` with shape `(10, 512, 512, 2)` - it can be converted to submission the following way:

```
import pandas as pd

pd.DataFrame(
             data=np.stack((np.arange(len(test_masks_prediction.ravel())), 
                                        test_masks_prediction.ravel().astype(int)),
                                       axis=-1), 
             columns=['Id', 'Expected'])\
.set_index('Id').to_csv('submission.csv')
```