tensorflow训练时进度条前的数字是什么意思

What's the meaning of the number before the progress bar when tensorflow is training

谁能告诉我下面的tensorflow日志中'10'和'49'是什么意思? 非常感谢

信息:tensorflow:开始编译

信息:tensorflow:编译完成。已用时间:5.899410247802734 秒

10/10 [==============================] - 23 秒 2 秒/步 - 损失:2.6726 - 累积:0.1459

49/49 [==============================] - 108 秒 2 秒/步 - 损失:2.3035 - 累积:0.2845 - val_loss:2.6726 - val_acc:0.1459

纪元 2/100

10/10 [==============================] - 1 秒 133 毫秒/步 - 损失:2.8799 - 加速:0.1693

49/49 [==============================] - 17 秒 337 毫秒/步 - 损失:1.9664 - 加速:0.4042 - val_loss:2.8799 - val_acc:0.1693

10 和 49 对应于您的数据集在每个时期划分的批次数。

例如,在你的训练数据集中,总共有10000张图片,你的batch size是64,那么每个epoch总共有math.ceil(10000/64) = 157个batches。