9b7b9c9243ce0940087449b2631fa4cd85ecda87,tensorlayer/files.py,,load_voc_dataset,#Any#Any#Any#,719

Before Change


        // url = "http://host.robots.ox.ac.uk:8080/eval/downloads/"
        // tar_filename = "VOC2012test.tar"
        print("Unfinished API, 2012 test JPEG and Annotation are not matched !")
        exit()
    elif dataset == "2007":
        url = "http://host.robots.ox.ac.uk/pascal/VOC/voc2007/"
        tar_filename = "VOCtrainval_06-Nov-2007.tar"
        extracted_filename = "VOC2007"

After Change


        for ann in imgs_ann_file_list:
            ann = os.path.split(ann)[-1].split(".")[0]
            for im in imgs_file_list:
                if ann in im:
                    imgs_file_list_new.append(im)
                    break
        imgs_file_list = imgs_file_list_new
        print("[VOC] keep %d images" % len(imgs_file_list_new))

    ////======== parse XML annotations
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 9b7b9c9243ce0940087449b2631fa4cd85ecda87
Time: 2017-12-04
Author: dhsig552@163.com
File Name: tensorlayer/files.py
Class Name:
Method Name: load_voc_dataset


Project Name: tensorlayer/tensorlayer
Commit Name: 741ad9fb33a98023d76c6b962ae77183745d4ffa
Time: 2019-01-17
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/models/core.py
Class Name: Model
Method Name: __call__


Project Name: tensorlayer/tensorlayer
Commit Name: 9b7b9c9243ce0940087449b2631fa4cd85ecda87
Time: 2017-12-04
Author: dhsig552@163.com
File Name: tensorlayer/files.py
Class Name:
Method Name: load_voc_dataset


Project Name: tensorpack/tensorpack
Commit Name: 65449110d6d6bec42350c19e2ff907899683783a
Time: 2019-05-27
Author: ppwwyyxxc@gmail.com
File Name: scripts/dump-model-params.py
Class Name:
Method Name: _import_external_ops