Solved by ptrblck in post #2 
              
              
                It seems that the targets are expected in the “COCO format”, so this repository might be useful, which seems to convert Cityscapes to COCO.