How to log Keras loss output to a file

前端 未结 6 1723
野的像风
野的像风 2020-12-04 15:39

When you run a Keras neural network model you might see something like this in the console:

Epoch 1/3
   6/1000 [..............................] - ETA: 7994         


        
6条回答
  •  心在旅途
    2020-12-04 16:00

    Old question, but here goes. Keras history output perfectly matches pandas DataSet input.

    If you want the entire history to csv in one line: pandas.DataFrame(model.fit(...).history).to_csv("history.csv")

    Cheers

提交回复
热议问题