How to segment custom class

How to do custom segmentation. I need to segment classes not in coco dataset. I m using DETR for segmentation. I have to segment all 80 coco classes and my custom class specific to hand crafted wooden art work.