add progress bar, better batch_size
1.3.0