2318052dc79966bf36675606b7d992a347418292,scripts/detection/ssd/train_ssd.py,,,#,226

Before Change


    // network
    net_name = "_".join(("ssd", str(args.data_shape), args.network, args.dataset))
    args.save_prefix += net_name
    net = get_model(net_name, pretrained_base=True)
    if args.resume.strip():
        net.load_parameters(args.resume.strip())
    else:
        for param in net.collect_params().values():
            if param._data is not None:
                continue
            param.initialize()

    // training data
    train_dataset, val_dataset, eval_metric = get_dataset(args.dataset, args)
    train_data, val_data = get_dataloader(
        net, train_dataset, val_dataset, args.data_shape, args.batch_size, args.num_workers)

After Change


        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always")
            net.initialize()
            async_net.initialize()

    // training data
    train_dataset, val_dataset, eval_metric = get_dataset(args.dataset, args)
    train_data, val_data = get_dataloader(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: dmlc/gluon-cv
Commit Name: 2318052dc79966bf36675606b7d992a347418292
Time: 2019-01-07
Author: cheungchih@gmail.com
File Name: scripts/detection/ssd/train_ssd.py
Class Name:
Method Name:


Project Name: suavecode/SUAVE
Commit Name: f1e90a193196c50498c4be8b2dce87ab2f0c4e6a
Time: 2019-04-09
Author: timdmacdo@gmail.com
File Name: trunk/SUAVE/Analyses/Aerodynamics/Fidelity_Zero.py
Class Name: Fidelity_Zero
Method Name: initialize


Project Name: suavecode/SUAVE
Commit Name: f1e90a193196c50498c4be8b2dce87ab2f0c4e6a
Time: 2019-04-09
Author: timdmacdo@gmail.com
File Name: trunk/SUAVE/Analyses/Aerodynamics/Supersonic_Zero.py
Class Name: Supersonic_Zero
Method Name: initialize


Project Name: moskomule/senet.pytorch
Commit Name: 714b645f8b5e999798bf69f42c2e39f180842107
Time: 2018-03-06
Author: hataya@keio.jp
File Name: baseline.py
Class Name: ResNet
Method Name: __init__


Project Name: dmlc/gluon-cv
Commit Name: 2318052dc79966bf36675606b7d992a347418292
Time: 2019-01-07
Author: cheungchih@gmail.com
File Name: scripts/detection/ssd/train_ssd.py
Class Name:
Method Name: