4fe3da7ed8925e4b9b8376901896bd96ffbf9f3a,dvalib/indexer.py,FacenetIndexer,index_faces,#FacenetIndexer#Any#Any#Any#Any#,296

Before Change


        return np.atleast_2d(np.squeeze(features))

    def index_faces(self, paths, paths_to_pk, output_dir, video_pk):
        self.load()
        entries = []
        output_dir = os.path.expanduser(output_dir)
        if not os.path.isdir(output_dir):
            os.makedirs(output_dir)

After Change


        return np.atleast_2d(np.squeeze(features))

    def index_faces(self, paths, paths_to_pk, output_dir, video_pk):
        if self.graph_def is None  or self.session is None:
            self.load()
        entries = []
        output_dir = os.path.expanduser(output_dir)
        if not os.path.isdir(output_dir):
            os.makedirs(output_dir)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 4fe3da7ed8925e4b9b8376901896bd96ffbf9f3a
Time: 2017-07-15
Author: akshayubhat@gmail.com
File Name: dvalib/indexer.py
Class Name: FacenetIndexer
Method Name: index_faces


Project Name: deepmipt/DeepPavlov
Commit Name: 3cf145a834061976ddd7358eb9f3836d7ffeb626
Time: 2018-01-29
Author: arkhipov@yahoo.com
File Name: deeppavlov/models/ner/ner.py
Class Name: NER
Method Name: __init__


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: efa4e36adf0dbf0c39e53a9b38c07878340a8eaf
Time: 2017-07-24
Author: akshayubhat@gmail.com
File Name: dvalib/analyzer.py
Class Name: OpenImagesAnnotator
Method Name: apply