8961e3d5f50c689c5a406a88768b31de0059f8b4,gluoncv/model_zoo/mobilenet.py,,get_mobilenet,#,188

Before Change


        version_suffix = "{0:.2f}".format(multiplier)
        if version_suffix in ("1.00", "0.50"):
            version_suffix = version_suffix[:-1]
        net.load_parameters(
            get_model_file("mobilenet%s" % version_suffix, tag=pretrained, root=root), ctx=ctx)
    return net


def get_mobilenet_v2(multiplier, pretrained=False, ctx=cpu(),

After Change


        version_suffix = "{0:.2f}".format(multiplier)
        if version_suffix in ("1.00", "0.50"):
            version_suffix = version_suffix[:-1]
        net.load_parameters(
            get_model_file("mobilenet%s" % version_suffix, tag=pretrained, root=root), ctx=ctx)
        from ..data import ImageNet1kAttr
        attrib = ImageNet1kAttr()
        net.synset = attrib.synset
        net.classes = attrib.classes
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 2

Instances


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/mobilenet.py
Class Name:
Method Name: get_mobilenet


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/alexnet.py
Class Name:
Method Name: alexnet


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/densenet.py
Class Name:
Method Name: get_densenet


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/vgg.py
Class Name:
Method Name: get_vgg


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/squeezenet.py
Class Name:
Method Name: get_squeezenet


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/inception.py
Class Name:
Method Name: inception_v3


Project Name: dmlc/gluon-cv
Commit Name: 8961e3d5f50c689c5a406a88768b31de0059f8b4
Time: 2018-10-15
Author: hetong007@gmail.com
File Name: gluoncv/model_zoo/mobilenet.py
Class Name:
Method Name: get_mobilenet_v2