Optimization Algorithms For Deep Learning Based Medical Image Segmentations