70e4855f5608c4481dfffd5f762e310d631d06c3,test_model_CAM.py,,,#,68
Before Change
modelID = 1
// load category
with open("category_momentsv1.txt") as f:
categories = [line.rstrip() for line in f.readlines()]
// load the labels
model = load_model(modelID, categories)
// load the model
features_blobs = []
After Change
model = load_model(categories, "multi_moments_v2_RGB_resnet50_imagenetpretrained.pth.tar")
else:
categories = load_categories("category_momentsv2.txt")
model = load_model(categories, "moments_v2_RGB_resnet50_imagenetpretrained.pth.tar")
// load the model
features_blobs = []
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: metalbubble/moments_models
Commit Name: 70e4855f5608c4481dfffd5f762e310d631d06c3
Time: 2020-10-09
Author: mmonfort@mit.edu
File Name: test_model_CAM.py
Class Name:
Method Name:
Project Name: pyannote/pyannote-audio
Commit Name: e81f54bb33f4a41c2ebdfdda41e5d70b52c32c87
Time: 2017-05-05
Author: bredin@limsi.fr
File Name: pyannote/audio/embedding/base_autograd.py
Class Name: SequenceEmbeddingAutograd
Method Name: restart
Project Name: pyannote/pyannote-audio
Commit Name: 35b56b6680931bfe9e3aa8318c4a977c00d079c1
Time: 2017-05-09
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/base.py
Class Name: SequenceLabeling
Method Name: from_disk