Improving Temporal Consistency for Semantic Segmentation of Videos