20891926c9f721a338ff6183514819f2fa8077f6,models.py,,create_modules,#,8

Before Change


        elif mdef["type"] == "yolo":
            yolo_index += 1
            stride = [32, 16, 8]  // P5, P4, P3 strides
            if "panet" in cfg or "yolov4" or "cd53" in cfg:  // stride order reversed
                stride = list(reversed(stride))
            layers = mdef["from"] if "from" in mdef else []
            modules = YOLOLayer(anchors=mdef["anchors"][mdef["mask"]],  // anchor list

After Change


        elif mdef["type"] == "yolo":
            yolo_index += 1
            stride = [32, 16, 8]  // P5, P4, P3 strides
            if any(x in cfg for x in ["panet", "yolov4", "cd53"]):  // stride order reversed
                stride = list(reversed(stride))
            layers = mdef["from"] if "from" in mdef else []
            modules = YOLOLayer(anchors=mdef["anchors"][mdef["mask"]],  // anchor list
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ultralytics/yolov3
Commit Name: 20891926c9f721a338ff6183514819f2fa8077f6
Time: 2020-05-15
Author: glenn.jocher@ultralytics.com
File Name: models.py
Class Name:
Method Name: create_modules


Project Name: facebookresearch/DrQA
Commit Name: a9f338555a1342ec0dc8e5b4bdf50d5968278d71
Time: 2018-03-28
Author: 67573430@qq.com
File Name: drqa/tokenizers/spacy_tokenizer.py
Class Name: SpacyTokenizer
Method Name: tokenize


Project Name: MTG/freesound
Commit Name: 44c80e30c6dadf63871ae6b8beef2705a6cb7648
Time: 2019-05-07
Author: frederic.font@upf.edu
File Name: utils/audioprocessing/processing.py
Class Name:
Method Name: convert_to_pcm