https://ksml4.com/optimizing-deep-learning-hyperparameter-tuning-via-input-image-downsampling/