8961e3d5f50c689c5a406a88768b31de0059f8b4,gluoncv/model_zoo/squeezenet.py,,get_squeezenet,#Any#Any#Any#Any#,110

Before Change


    net = SqueezeNet(version, **kwargs)
    if pretrained:
        from .model_store import get_model_file
        net.load_parameters(get_model_file("squeezenet%s"%version,
                                           tag=pretrained, root=root), ctx=ctx)
    return net

def squeezenet1_0(**kwargs):
    rSqueezeNet 1.0 model from the `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters

After Change


    net = SqueezeNet(version, **kwargs)
    if pretrained:
        from .model_store import get_model_file
        net.load_parameters(get_model_file("squeezenet%s"%version,
                                           tag=pretrained, root=root), ctx=ctx)
        from ..data import ImageNet1kAttr
        attrib = ImageNet1kAttr()
        net.synset = attrib.synset
        net.classes = attrib.classes
        net.classes_long = attrib.classes_long
    return net

def squeezenet1_0(**kwargs):
    rSqueezeNet 1.0 model from the `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 13

Instances


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/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/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/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/mobilenet.py
Class Name:
Method Name: get_mobilenet_v2


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/densenet.py
Class Name:
Method Name: get_densenet