5267c162091393aca33af17fb03c2054aa4d68cf,ilastik/applets/objectExtraction/objectExtractionSerializer.py,SerialLabelImageSlot,deserialize,#SerialLabelImageSlot#Any#,18

Before Change


            del dest["LabelImage"]
            dest.copy(opgroup[inner], dest, name="LabelImage")
            op._opLabelImage._fixed = False
            op._opLabelImage._processedTimeSteps = set(range(opgroup[inner].shape[0]))
        self.dirty = False


class SerialObjectFeaturesSlot(SerialSlot):

After Change


        innerops = mainOperator.innerOperators
        opgroup = group[self.name]
        for inner in opgroup.keys():
            mygroup = opgroup[inner]
            op = innerops[int(inner)]
            dest = op._opLabelImage._mem_h5
            del dest["LabelImage"]
            dest.copy(mygroup["data"], dest, name="LabelImage")
            ts = set(numpy.array(mygroup["timesteps"][:]).flat)
            op._opLabelImage._processedTimeSteps = ts
            op._opLabelImage._fixed = False
        self.dirty = False
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 5267c162091393aca33af17fb03c2054aa4d68cf
Time: 2013-02-14
Author: kemal.eren@iwr.uni-heidelberg.de
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialLabelImageSlot
Method Name: deserialize


Project Name: rtavenar/tslearn
Commit Name: 6ffdbc8963b6bcaf686af1a9d5b7ddf212dbfc31
Time: 2020-04-21
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/early_classification.py
Class Name: NonMyopicEarlyClassification
Method Name: fit


Project Name: EducationalTestingService/skll
Commit Name: a8097ab1d694d9c9ac3c25f4bb82566d39f565bc
Time: 2013-03-01
Author: mheilman@ets.org
File Name: classifier.py
Class Name: Classifier
Method Name: train