Well, I got it so, if the first 3 scores are not for my label, then it won’t save any images
Also, if I want to save all the predicted regions then I should have a model whose output scores should be high enough.
I guess  I should improve my model, Thanks for your valuable inputs!