71a0d545ba2141c3fd0a54708d088bc8c8029dfb,gluoncv/model_zoo/model_store.py,,pretrained_model_list,#,223

Before Change




def pretrained_model_list():
    return list(_model_sha1.keys())

After Change



def pretrained_model_list():
    Get list of model which has pretrained weights available.
    _renames = {
        "resnet18_v1b_2.6x": "resnet18_v1b_0.89",
        "resnet50_v1d_1.8x": "resnet50_v1d_0.86",
        "resnet50_v1d_3.6x": "resnet50_v1d_0.48",
        "resnet50_v1d_5.9x": "resnet50_v1d_0.37",
        "resnet50_v1d_8.8x": "resnet50_v1d_0.11",
        "resnet101_v1d_1.9x": "resnet101_v1d_0.76",
        "resnet101_v1d_2.2x": "resnet101_v1d_0.73",
    }
    return [_renames[x] if x in _renames else x for x in _model_sha1.keys()]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-cv
Commit Name: 71a0d545ba2141c3fd0a54708d088bc8c8029dfb
Time: 2019-07-16
Author: cheungchih@gmail.com
File Name: gluoncv/model_zoo/model_store.py
Class Name:
Method Name: pretrained_model_list


Project Name: maciejkula/spotlight
Commit Name: ec838b1d420a5fb003e55da96146f1688cb8ea2a
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name: sample_lstm_hyperparameters


Project Name: maciejkula/spotlight
Commit Name: ec838b1d420a5fb003e55da96146f1688cb8ea2a
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name: sample_pooling_hyperparameters