9185b69922ea5aca4a8fbf3b7214cfa21dc88024,detectron/utils/net.py,,initialize_gpu_from_weights_file,#Any#Any#Any#,53

Before Change


    logger.info("Loading weights from: {}".format(weights_file))
    ws_blobs = workspace.Blobs()
    with open(weights_file, "r") as f:
        src_blobs = pickle.load(f)
    if "cfg" in src_blobs:
        saved_cfg = load_cfg(src_blobs["cfg"])
        configure_bbox_reg_weights(model, saved_cfg)
    if "blobs" in src_blobs:

After Change


    
    logger.info("Loading weights from: {}".format(weights_file))
    ws_blobs = workspace.Blobs()
    src_blobs = load_object(weights_file)

    if "cfg" in src_blobs:
        saved_cfg = load_cfg(src_blobs["cfg"])
        configure_bbox_reg_weights(model, saved_cfg)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: facebookresearch/Detectron
Commit Name: 9185b69922ea5aca4a8fbf3b7214cfa21dc88024
Time: 2018-10-01
Author: ashwin@fb.com
File Name: detectron/utils/net.py
Class Name:
Method Name: initialize_gpu_from_weights_file


Project Name: facebookresearch/Detectron
Commit Name: 9185b69922ea5aca4a8fbf3b7214cfa21dc88024
Time: 2018-10-01
Author: ashwin@fb.com
File Name: tools/visualize_results.py
Class Name:
Method Name: vis


Project Name: facebookresearch/Detectron
Commit Name: 9185b69922ea5aca4a8fbf3b7214cfa21dc88024
Time: 2018-10-01
Author: ashwin@fb.com
File Name: detectron/utils/subprocess.py
Class Name:
Method Name: process_in_parallel