How to train deeplabv3 or fcn model for segmantation?

I labeled my images with labelme. How could I train deeplabv3 or fcn model with my labeled dataset ? (I will apply model remove to background code that is following)

Code