31fd5e11806c319b493b47fe029a48811445d9e8,niftynet/engine/application_driver.py,ApplicationDriver,_training_loop,#ApplicationDriver#Any#Any#,239

Before Change



            // print variables of the updated network
            console = graph_output.get(CONSOLE, {})
            console_str = ", ".join(
                "{}={}".format(key, val) for (key, val) in console.items())
            tf.logging.info("iter {}, {} ({:.3f}s)".format(
                iter_i, console_str, time.time() - local_time))

    def _inference_loop(self, sess, loop_status):

After Change


            // variables to the graph
            vars_to_run = dict(train_op=train_op)
            vars_to_run[CONSOLE], vars_to_run[NETORK_OUTPUT] = \
                self.outputs_collector.variables(CONSOLE), \
                self.outputs_collector.variables(NETORK_OUTPUT)
            if iter_i % self.tensorboard_every_n == 0:
                // adding tensorboard summary
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: NifTK/NiftyNet
Commit Name: 31fd5e11806c319b493b47fe029a48811445d9e8
Time: 2017-08-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: _training_loop


Project Name: NifTK/NiftyNet
Commit Name: 31fd5e11806c319b493b47fe029a48811445d9e8
Time: 2017-08-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: _inference_loop


Project Name: deepmind/sonnet
Commit Name: 2a3a5d3cef42e5bf997cfb9dac87163ccaa3c8f1
Time: 2019-09-16
Author: tomhennigan@google.com
File Name: sonnet/src/utils.py
Class Name:
Method Name: format_variables