Improved sampled positions
Pre-release
Pre-release
This version improves how sampled positions are managed.
Additionally, this version fixes an issue of a high resolution mask (same as the input image) being loaded for patch sampling.