a911645cbfdf502f1d323cb9a8d18f1a781b11d7,tensorforce/execution/distributed_runner.py,DistributedRunner,run,#DistributedRunner#,69

Before Change


                                             init_fn=init_fn,
                                             ready_op=tf.report_uninitialized_variables(variables_to_save),
                                             saver=worker_agent.model.saver,
                                             summary_op=tf.summary.merge_all(),
                                             summary_writer=worker_agent.model.summary_writer)

            runner = ThreadRunner(worker_agent, deepcopy(self.environment),

After Change



            variables_to_save = [v for v in tf.global_variables() if not v.name.startswith("local")]
            print([v.name for v in tf.global_variables()])
            print([v.name for v in variables_to_save])
            init_op = tf.variables_initializer(variables_to_save)
            init_all_op = tf.global_variables_initializer()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: reinforceio/tensorforce
Commit Name: a911645cbfdf502f1d323cb9a8d18f1a781b11d7
Time: 2017-03-11
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/execution/distributed_runner.py
Class Name: DistributedRunner
Method Name: run


Project Name: tensorflow/models
Commit Name: 59c218f559388be1613f4bc6c29b5dd5cc79df9d
Time: 2019-05-06
Author: YknZhu@users.noreply.github.com
File Name: research/deeplab/train.py
Class Name:
Method Name: _train_deeplab_model


Project Name: tensorflow/benchmarks
Commit Name: ecec43ee2dd7d21a08d68d00c668ea54bde03672
Time: 2018-10-08
Author: reedwm@google.com
File Name: scripts/tf_cnn_benchmarks/benchmark_cnn.py
Class Name: BenchmarkCNN
Method Name: _run_eval