b519cde79a37ac166bb2ac8e42134bb09d8c9e0f,model/base_model.py,BaseRunner,eval,#BaseRunner#Any#Any#Any#Any#,220

Before Change


            N = data_set.num_examples
        eval_args = self._get_eval_args(epoch)
        data_set.reset(shuffle=False)
        string = "eval on {}, N={}|".format(data_set.name, N)
        for _ in mytqdm(range(num_iters), desc=string, show=progress):
            batches = []
            for _ in range(self.num_towers):
                if data_set.has_next_batch(partial=True):

After Change


        eval_args = self._get_eval_args(epoch)
        string = "eval on %s, N=%d|" % (data_set.name, N)
        if progress:
            pbar = get_pbar(num_iters, prefix=string).start()
        for iter_idx in range(num_iters):
            batches = []
            for _ in range(self.num_towers):
                if data_set.has_next_batch(partial=True):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: wenwei202/iss-rnns
Commit Name: b519cde79a37ac166bb2ac8e42134bb09d8c9e0f
Time: 2016-07-25
Author: seominjoon@gmail.com
File Name: model/base_model.py
Class Name: BaseRunner
Method Name: eval


Project Name: wenwei202/iss-rnns
Commit Name: b519cde79a37ac166bb2ac8e42134bb09d8c9e0f
Time: 2016-07-25
Author: seominjoon@gmail.com
File Name: model/base_model.py
Class Name: BaseRunner
Method Name: train


Project Name: sony/nnabla
Commit Name: f68bcbab2f5126e8dfdac2fd58bca5bcab41785b
Time: 2018-08-06
Author: Yoshiyuki.Kobayashi@jp.sony.com
File Name: python/src/nnabla/utils/cli/cli.py
Class Name:
Method Name: main


Project Name: Rostlab/nalaf
Commit Name: 03b8bb0b05fbc75e2e79b8b782790d5b07cf7947
Time: 2015-08-05
Author: aleksandar.bojchevski@gmail.com
File Name: nala/learning/postprocessing.py
Class Name: PostProcessing
Method Name: process