[imgaug] check xrange==yrange only when using ratio (fix #628)
[imgaug] check xrange==yrange only when using ratio (fix #628)

ppwwyyxx/tensorpack,eyaler/tensorpack,eyaler/tensorpack,ppwwyyxx/tensorpack