630a400af2bffc27a173acf876d72a1a10cd2dbf,ilastik/applets/base/appletSerializer.py,SerialClassifierSlot,_serialize,#SerialClassifierSlot#Any#Any#Any#,465
Before Change
// our open hdf5 group. Instead, we"ll use vigra to write the
// classifier to a temporary file.
tmpDir = tempfile.mkdtemp()
cachePath = os.path.join(tmpDir, "tmp_classifier_cache.h5").replace("\\", "/")
for i, forest in enumerate(classifier_forests):
targetname = "{0}/{1}".format(name, self.subname.format(i))
forest.writeHDF5(cachePath, targetname)
After Change
return
cache_contents = self.cache._value
assert cache_contents.shape == (1,)
classifier = cache_contents[0]
// Classifier can be None if there isn"t any training data yet.
if classifier is None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ilastik/ilastik
Commit Name: 630a400af2bffc27a173acf876d72a1a10cd2dbf
Time: 2014-05-08
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/base/appletSerializer.py
Class Name: SerialClassifierSlot
Method Name: _serialize
Project Name: ilastik/ilastik
Commit Name: 4051f7849ca264541659b0e6da21099b749d16da
Time: 2013-04-29
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/ioOperators/opStreamingHdf5Reader.py
Class Name: OpStreamingHdf5Reader
Method Name: setupOutputs
Project Name: Theano/Theano
Commit Name: a17abf5cadb1560fd890215af4819662670f014f
Time: 2016-10-17
Author: abergeron@gmail.com
File Name: theano/gpuarray/elemwise.py
Class Name: GpuElemwise
Method Name: _generate_op_string