a725a64778311f5a3dd6f50551df5368245c1c9a,ilastik/applets/networkClassification/nnClassSerializer.py,NNClassificationSerializer,__init__,#NNClassificationSerializer#Any#Any#,29
Before Change
def __init__(self, topLevelOperator, projectFileGroupName):
self.VERSION = 1
slots = [
SerialPickleableSlot(topLevelOperator.FullModel, version=1),
SerialDictSlot(topLevelOperator.ModelPath),
]
super(NNClassificationSerializer, self).__init__(projectFileGroupName, slots)
After Change
def __init__(self, topLevelOperator, projectFileGroupName):
self.VERSION = 1
slots = [SerialPickleableSlot(topLevelOperator.FullModel, version=1),
SerialDictSlot(topLevelOperator.ModelPath),
SerialListSlot(topLevelOperator.LabelNames),
SerialListSlot(topLevelOperator.LabelColors, transform=lambda x: tuple(x.flat)),
SerialListSlot(topLevelOperator.PmapColors, transform=lambda x: tuple(x.flat)),
SerialBlockSlot(topLevelOperator.LabelImages,
topLevelOperator.LabelInputs,
topLevelOperator.NonzeroLabelBlocks,
name="LabelSets",
subname="labels{:03d}",
selfdepends=False,
shrink_to_bb=True)
]
super(NNClassificationSerializer, self).__init__(projectFileGroupName, slots, topLevelOperator)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: ilastik/ilastik
Commit Name: a725a64778311f5a3dd6f50551df5368245c1c9a
Time: 2019-04-09
Author: johannes.hugger@iwr.uni-heidelberg.de
File Name: ilastik/applets/networkClassification/nnClassSerializer.py
Class Name: NNClassificationSerializer
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: 4a4d319f9152e0927043ec878934c4bb477974fe
Time: 2013-04-18
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/objectClassification/objectClassificationSerializer.py
Class Name: ObjectClassificationSerializer
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: a2bbcd9bd4c35fc0872426c1ddecd9c8d81b084f
Time: 2016-03-21
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/edgeTraining/edgeTrainingSerializer.py
Class Name: EdgeTrainingSerializer
Method Name: __init__