29242f3be4bddba5143573a158f3f2e3d37ba09f,train_ssd.py,,main,#,114

Before Change




def main():
    logging.basicConfig(stream=sys.stdout, level=logging.INFO, format="%(asctime)s %(levelname)s: %(message)s")

    parser = argparse.ArgumentParser(description="Single Shot MultiBox Detector Training With PyTorch")
    parser.add_argument(
        "--config-file",

After Change


        nargs=argparse.REMAINDER,
    )
    args = parser.parse_args()
    num_gpus = int(os.environ["WORLD_SIZE"]) if "WORLD_SIZE" in os.environ else 1
    args.distributed = num_gpus > 1
    args.num_gpus = num_gpus
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lufficc/SSD
Commit Name: 29242f3be4bddba5143573a158f3f2e3d37ba09f
Time: 2018-12-07
Author: luffy.lcc@gmail.com
File Name: train_ssd.py
Class Name:
Method Name: main


Project Name: apache/incubator-tvm
Commit Name: 7344b6666e76bb69fa1bf727c25074071fa522fb
Time: 2021-03-05
Author: areusch@octoml.ai
File Name: tests/python/integration/test_tuning.py
Class Name:
Method Name:


Project Name: tensorflow/cleverhans
Commit Name: 45bbb910c22f40952d9d1d4c74db2d5ad21bc930
Time: 2017-11-03
Author: fartash.faghri@gmail.com
File Name: examples/multigpu_advtrain/run_multigpu.py
Class Name:
Method Name: main