In this post, we are going to be developing custom loss functions in deep learning applications such as semantic segmentation. We use Python 2.7 and Keras 2.x for implementation.