9185b69922ea5aca4a8fbf3b7214cfa21dc88024,tools/visualize_results.py,,vis,#Any#Any#Any#Any#Any#,83

Before Change


    ds = JsonDataset(dataset)
    roidb = ds.get_roidb()

    with open(detections_pkl, "r") as f:
        dets = pickle.load(f)

    assert all(k in dets for k in ["all_boxes", "all_segms", "all_keyps"]), \
        "Expected detections pkl file in the format used by test_engine.py"

    all_boxes = dets["all_boxes"]

After Change


    ds = JsonDataset(dataset)
    roidb = ds.get_roidb()

    dets = load_object(detections_pkl)

    assert all(k in dets for k in ["all_boxes", "all_segms", "all_keyps"]), \
        "Expected detections pkl file in the format used by test_engine.py"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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/datasets/voc_eval.py
Class Name:
Method Name: voc_eval


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