uoguelph-mlrg/Theano-MPI

Make central crop as a default

Closed this issue · 3 comments

Hi He,

As you have single image cropping uncomment, please make central cropping as a default for your test until I solve the cropping performance problem.

Thanks,

Fei

hma02 commented

Hi Fei,

Do you mean to pass in [0.5,0.5,0] into croping function as default at the following line?

https://github.com/uoguelph-mlrg/Parallel-training/blob/master/exc/lib/proc_load_mpi.py#L149

I used this in my last test and found that AlexNet converged to around 28% top-5 error when central cropping on all images during training.

Made random cropping on whole batch as default. Provided a flag to choose random cropping on each images.