Training and Inference for Integer-Based Semantic Segmentation Network