e9524b70faad78477ca9ac924097edd2e0a2a01a,luminoth/eval.py,,evaluate,#Any#Any#Any#Any#Any#Any#Any#Any#,25

Before Change


        // TODO: Change parameter to `from_global_step`.
        // We only want to filter on the first iteration.
        if last_global_step is not None and not all_checkpoints:
            checkpoints = [checkpoints[-1]] if checkpoints else []

        for checkpoint in checkpoints:
            // Always returned in order, so it"s safe to assign directly.
            tf.logging.info(

After Change


            return

        // Sleep for a minute and check for new checkpoints.
        tf.logging.info("All checkpoints evaluated; sleeping for a minute")
        time.sleep(60)


def get_checkpoints(config, from_global_step=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tryolabs/luminoth
Commit Name: e9524b70faad78477ca9ac924097edd2e0a2a01a
Time: 2017-08-24
Author: aazzinnari@gmail.com
File Name: luminoth/eval.py
Class Name:
Method Name: evaluate


Project Name: dmlc/gluon-nlp
Commit Name: 698c10beffafa519dd5dbb7d579919c5df8f30be
Time: 2019-04-22
Author: tao.a.lv@intel.com
File Name: scripts/bert/finetune_classifier.py
Class Name:
Method Name: train


Project Name: ray-project/ray
Commit Name: 82f9c7014e2d0acd3e3869066f5dc3142ec9e7a7
Time: 2020-12-17
Author: 62982571+Gekho457@users.noreply.github.com
File Name: python/ray/autoscaler/_private/command_runner.py
Class Name: KubernetesCommandRunner
Method Name: _home