compress train_batch post