7da6a0d12fdcec21f9bbdf51690f29f2ca7250dd,luminoth/tools/dataset/readers/object_detection/openimages.py,OpenImagesReader,get_classes,#OpenImagesReader#,57

Before Change


        try:
            with tf.gfile.Open(trainable_labels_file) as tl:
                for label in tl:
                    trainable_labels.add(label.strip())
        except tf.errors.NotFoundError:
            raise InvalidDataDirectory(
                "Missing label file "{}" from data_dir".format(

After Change


                // Skip header
                next(reader, None)
                for line in reader:
                    trainable_labels.add(line[2])
        except tf.errors.NotFoundError:
            raise InvalidDataDirectory(
                "Missing label file "{}" from data_dir".format(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: tryolabs/luminoth
Commit Name: 7da6a0d12fdcec21f9bbdf51690f29f2ca7250dd
Time: 2018-05-24
Author: falbertoni811@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/openimages.py
Class Name: OpenImagesReader
Method Name: get_classes


Project Name: NervanaSystems/nlp-architect
Commit Name: 9c7c69fe2769fc536db267694055e1514d6e53b9
Time: 2018-10-31
Author: jonathan.mamou@intel.com
File Name: solutions/set_expansion/expand_server.py
Class Name: MyTCPHandler
Method Name: handle


Project Name: deepmipt/DeepPavlov
Commit Name: c3a9468a86a0abdf78c9a8d55a0147b0a61fb16b
Time: 2018-02-05
Author: arkhipov@yahoo.com
File Name: deeppavlov/models/ner/ner.py
Class Name: NER
Method Name: infer