This is pre-squeeze size of my target data>> targets of size: : [4, 1, 300, 300] squeeze reduces this to [4,300,300]
also I noticed that the size of the target image does not match the roiginal image.
Also a side question. Is there any way to make masks out of xy coordinates? do people code tehir own script everytime?