Add test_scale and train_scale, to account for fact that both learn and predict may be run on resampled images