8961e3d5f50c689c5a406a88768b31de0059f8b4,gluoncv/model_zoo/densenet.py,,get_densenet,#Any#Any#Any#Any#,122

Before Change


    net = DenseNet(num_init_features, growth_rate, block_config, **kwargs)
    if pretrained:
        from .model_store import get_model_file
        net.load_parameters(get_model_file("densenet%d"%(num_layers),
                                           tag=pretrained, root=root), ctx=ctx)
    return net

def densenet121(**kwargs):
    rDensenet-BC 121-layer model from the

After Change


    net = DenseNet(num_init_features, growth_rate, block_config, **kwargs)
    if pretrained:
        from .model_store import get_model_file
        net.load_parameters(get_model_file("densenet%d"%(num_layers),
                                           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 densenet121(**kwargs):
    rDensenet-BC 121-layer model from the
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/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/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


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/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