Hi All,
In the data preparation phase for my network, I read an image one at a time, and then, I want to extract several patches from this image as my mini-batch. In other words, the data preparation consists of two steps: 1) read an image and 2) extract random patches to form the mini-match.
What’s the proper way to use BatchSampler to implement this?
Thanks,
Saeed