What is the difference between steps and epochs in TensorFlow?

前端 未结 6 1663
春和景丽
春和景丽 2020-11-28 18:16

In most of the models, there is a steps parameter indicating the number of steps to run over data. But yet I see in most practical usage, we also execute t

6条回答
  •  旧巷少年郎
    2020-11-28 18:37

    In easy words
    Epoch: Epoch is considered as number of one pass from entire dataset
    Steps: In tensorflow one steps is considered as number of epochs multiplied by examples divided by batch size

    steps = (epoch * examples)/batch size
    For instance
    epoch = 100, examples = 1000 and batch_size = 1000
    steps = 100
    

提交回复
热议问题