40ff3e5daf41522c553d3508385e55d1d83176ce,mmdet/apis/train.py,,_non_dist_train,#Any#Any#Any#Any#Any#Any#Any#,184

Before Change


                    timestamp=None,
                    meta=None):
    if validate:
        raise NotImplementedError("Built-in validation is not implemented "
                                  "yet in not-distributed training. Use "
                                  "distributed training or test.py and "
                                  "*eval.py scripts instead.")
    // prepare data loaders
    dataset = dataset if isinstance(dataset, (list, tuple)) else [dataset]
    data_loaders = [
        build_dataloader(

After Change


            workers_per_gpu=cfg.data.workers_per_gpu,
            dist=False,
            shuffle=False)
        eval_cfg = cfg.get("evaluation", {})
        runner.register_hook(EvalHook(val_dataloader, **eval_cfg))

    if cfg.resume_from:
        runner.resume(cfg.resume_from)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: open-mmlab/mmdetection
Commit Name: 40ff3e5daf41522c553d3508385e55d1d83176ce
Time: 2020-04-01
Author: goolhanrry@gmail.com
File Name: mmdet/apis/train.py
Class Name:
Method Name: _non_dist_train


Project Name: apple/coremltools
Commit Name: d8f1240c733c32c117b89fc14a6653f93b84f551
Time: 2019-12-19
Author: yuduo@apple.com
File Name: coremltools/converters/nnssa/coreml/ssa_converter.py
Class Name: SSAConverter
Method Name: _convert_conv2d


Project Name: pantsbuild/pants
Commit Name: a2e13025d2fc9c4fc172c222066438887c377ecc
Time: 2016-04-25
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/legacy/graph.py
Class Name: ExpGraph
Method Name: inject_synthetic_target