9963cff6292093ceb3c25a2a48579266deb3d199,torchreid/models/mlfn.py,,mlfn,#Any#Any#Any#,209
Before Change
def mlfn(num_classes, loss="softmax", pretrained=True, **kwargs):
model = MLFN(num_classes, loss, **kwargs)
if pretrained:
init_pretrained_weights(model, model_urls["imagenet"])
return model
After Change
if pretrained:
//init_pretrained_weights(model, model_urls["imagenet"])
import warnings
warnings.warn("The imagenet pretrained weights need to be manually downloaded from {}".format(model_urls["imagenet"]))
return model
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 9963cff6292093ceb3c25a2a48579266deb3d199
Time: 2019-05-28
Author: k.zhou@qmul.ac.uk
File Name: torchreid/models/mlfn.py
Class Name:
Method Name: mlfn
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 9963cff6292093ceb3c25a2a48579266deb3d199
Time: 2019-05-28
Author: k.zhou@qmul.ac.uk
File Name: torchreid/models/mobilenetv2.py
Class Name:
Method Name: mobilenetv2_1dot0
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 9963cff6292093ceb3c25a2a48579266deb3d199
Time: 2019-05-28
Author: k.zhou@qmul.ac.uk
File Name: torchreid/models/shufflenet.py
Class Name:
Method Name: shufflenet
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 9963cff6292093ceb3c25a2a48579266deb3d199
Time: 2019-05-28
Author: k.zhou@qmul.ac.uk
File Name: torchreid/models/mobilenetv2.py
Class Name:
Method Name: mobilenetv2_1dot4