We found helpful to blur the resampled input image of the task
network for some epochs at the beginning of the training procedure. It forces
the saliency sampler to zoom deeper into the image in order to further magnify
small details otherwise destroyed by the consequent blur. This is beneficial even
for the final performance of the model with the blur removed.
As far as I can tell this could all be
https://github.com/recasens/Saliency-Sampler/blob/0557addd00c9592f3f6c1be6e37583e9132e4eba/main.py#L193-L196 https://github.com/recasens/Saliency-Sampler/blob/0557addd00c9592f3f6c1be6e37583e9132e4eba/main.py#L199 https://github.com/recasens/Saliency-Sampler/blob/0557addd00c9592f3f6c1be6e37583e9132e4eba/saliency_sampler.py#L117-L120