added TrainerProperty so allow sample image size to be different than the training window size