90a753c9d419597530ae36aebc10653e4ea15f1d,examples/contrib/cifar10_qat/main.py,,training,#Any#Any#,20

Before Change


    if rank == 0:
        now = datetime.now().strftime("%Y%m%d-%H%M%S")

        folder_name = "{}_backend-{}-{}_{}".format(config["model"], idist.backend(), idist.get_world_size(), now)
        output_path = Path(output_path) / folder_name
        if not output_path.exists():
            output_path.mkdir(parents=True)

After Change


                "learning_rate",
                "num_warmup_epochs",
            ]
            task.connect({k: config[k] for k in hyper_params})

    // Setup dataflow, model, optimizer, criterion
    train_loader, test_loader = get_dataflow(config)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pytorch/ignite
Commit Name: 90a753c9d419597530ae36aebc10653e4ea15f1d
Time: 2021-02-11
Author: vfdev.5@gmail.com
File Name: examples/contrib/cifar10_qat/main.py
Class Name:
Method Name: training


Project Name: open-mmlab/mmcv
Commit Name: 50a33950a4b23c614152696e6f979ae978233432
Time: 2020-10-14
Author: swanxinjiang@gmail.com
File Name: mmcv/runner/hooks/sync_buffer.py
Class Name: SyncBuffersHook
Method Name: after_epoch


Project Name: pytorch/ignite
Commit Name: 90a753c9d419597530ae36aebc10653e4ea15f1d
Time: 2021-02-11
Author: vfdev.5@gmail.com
File Name: examples/contrib/cifar10_qat/main.py
Class Name:
Method Name: log_basic_info