09f72ac06873b4069b8fddad769be3f1148a5791,niftynet/engine/application_driver.py,ApplicationDriver,_training_loop,#ApplicationDriver#Any#,197
Before Change
// writing STDOUT logs and tensorboard summary
vars_to_run = [train_op, console_vars, summary_ops]
_, console_val, summary = sess.run(vars_to_run)
writer.add_summary(summary, iter_i)
self._save_model(sess, iter_i)
else:
// update model and write STDOUT logs
vars_to_run = [train_op, console_vars]
After Change
vars_to_run = [train_op, console_vars, summary_ops]
vars_to_run = filter(lambda x: x is not None, vars_to_run)
_, console_val, summary = sess.run(vars_to_run)
if summary:
writer.add_summary(summary, iter_i)
self._save_model(sess, iter_i)
else:
// update model and write STDOUT logs
if console_vars:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: NifTK/NiftyNet
Commit Name: 09f72ac06873b4069b8fddad769be3f1148a5791
Time: 2017-08-10
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: _training_loop
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: 566e089f21fd004943e35652d39ed7becbdfe1ad
Time: 2018-06-21
Author: jasoli@nvidia.com
File Name: open_seq2seq/utils/utils.py
Class Name:
Method Name: log_summaries_from_dict
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: 85f2b3f57ec5bf4f24edb0dd392bdef22753e063
Time: 2018-07-13
Author: jasonli9@live.ca
File Name: open_seq2seq/utils/utils.py
Class Name:
Method Name: log_summaries_from_dict