dd1740d3f5a6e587805551e7316b0e607dc1f6f4,object-detection/yolov2/valid.py,,valid,#Any#Any#Any#,34

Before Change



    future_data = pool.apply_async(
        utils.raise_info_thread(next), (valid_loader, None))
    for batch_idx in itertools.count():
        curr_data = future_data
        future_data = pool.apply_async(
            utils.raise_info_thread(next), (valid_loader, None))

After Change


            yolo_features_nnabla.d, args.conf_thresh, args.num_classes, args.anchors, args.num_anchors, 0, 1)
        for i in range(yolo_features_nnabla.d.shape[0]):
            if lineId >= total_samples:
                print("Reached End of total_samples")
                break
            fileId = os.path.basename(valid_files[lineId]).split(".")[0]
            width, height = utils.get_image_size(valid_files[lineId])
            print(valid_files[lineId])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: sony/nnabla-examples
Commit Name: dd1740d3f5a6e587805551e7316b0e607dc1f6f4
Time: 2020-02-29
Author: sai.dyavarasetti@sony.com
File Name: object-detection/yolov2/valid.py
Class Name:
Method Name: valid


Project Name: cve-search/cve-search
Commit Name: 01dcf599c63d22f2f7882164774f52f3776fa897
Time: 2015-01-26
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_admin.py
Class Name:
Method Name:


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 99ae7f9ddd250d3dfec674a1197f6c176ded72b6
Time: 2016-12-11
Author: cuducos@gmail.com
File Name: jarbas/core/management/commands/loadsuppliers.py
Class Name: Command
Method Name: handle