Updates
- Added `smp.metrics` module with different metrics based on confusion matrix, see [docs](https://smp.readthedocs.io/en/latest/metrics.html)
- Added new [notebook](https://github.com/qubvel/segmentation_models.pytorch/blob/master/examples/binary_segmentation_intro.ipynb) with training example using pytorch-lightning ![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)
- Improved handling of incorrect input image size error (checking image size is 2^n)
- Codebase refactoring and style checks (black, flake8)
- Minor typo fixes and bug fixes
Breaking changes
- `utils` module is going to be deprecated, if you still need it import it manually `from segmentation_models_pytorch import utils`
Thanks a lot for all contributors!