cd6ea74225b7c29238de13229aa1347db4098fea,train_model.py,,main,#,37
Before Change
logger.info("model saved to: {:s}".format(path_model))
logger.info("elapsed time: {:.1f} s".format(time.time() - time_start))
df_losses = df_losses_curr
logger.info("total training time: {:.1f} s".format(time.time() - time_start))
if __name__ == "__main__":
main()
After Change
if ((i + 1) % opts.iter_checkpoint == 0) or ((i + 1) == opts.n_iter):
model.save_state(path_model)
fnetlogger.to_csv(path_losses_csv)
logger.info("loss log saved to: {:s}".format(path_losses_csv))
logger.info("model saved to: {:s}".format(path_model))
logger.info("elapsed time: {:.1f} s".format(time.time() - time_start))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: AllenCellModeling/pytorch_fnet
Commit Name: cd6ea74225b7c29238de13229aa1347db4098fea
Time: 2018-01-29
Author: chek.o@outlook.com
File Name: train_model.py
Class Name:
Method Name: main
Project Name: mittagessen/kraken
Commit Name: 167641d61ab42c8cd37459dd97d8939e35a859a8
Time: 2018-03-14
Author: mittagessen@l.unchti.me
File Name: kraken/kraken.py
Class Name:
Method Name: recognizer
Project Name: mittagessen/kraken
Commit Name: 167641d61ab42c8cd37459dd97d8939e35a859a8
Time: 2018-03-14
Author: mittagessen@l.unchti.me
File Name: kraken/ketos.py
Class Name:
Method Name: extract