【发布时间】:2018-10-15 11:39:02
【问题描述】:
在keras的model.fit中,有一个shuffle参数,
shuffle: Boolean (whether to shuffle the training data before each epoch) or str (for 'batch'). 'batch' is a special option for dealing with the limitations of HDF5 data; it shuffles in batch-sized chunks. Has no effect when steps_per_epoch is not None.
假设训练集是一个带有50000元素的列表,那么整个列表会在每个epoch之前随机排列吗?如果批量大小是250,只有属于每个批次的元素会被置换?正确的理解应该是什么?
【问题讨论】:
标签: tensorflow deep-learning keras