Get zero accuracy

I try to add a transformer or vit to process the feature map in instance segmentation method but I got zero as testing accuracy.So I wanna know why