630a400af2bffc27a173acf876d72a1a10cd2dbf,ilastik/applets/base/appletSerializer.py,SerialClassifierSlot,_deserialize,#SerialClassifierSlot#Any#Any#,501
Before Change
// Due to non-shared hdf5 dlls, vigra can"t read directly
// from our open hdf5 group. Instead, we"ll copy the
// classfier data to a temporary file and give it to vigra.
tmpDir = tempfile.mkdtemp()
cachePath = os.path.join(tmpDir, "tmp_classifier_cache.h5").replace("\\", "/")
with h5py.File(cachePath, "w") as cacheFile:
cacheFile.copy(classifierGroup, self.name)
forests = []
After Change
try:
classifier = classifier_type.deserialize_hdf5( classifierGroup )
except:
return
// Now force the classifier into our classifier cache. The
// downstream operators (e.g. the prediction operator) can
// use the classifier without inducing it to be re-trained.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
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: _deserialize
Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_json.py
Class Name: CVEDownloads
Method Name: download_site
Project Name: cve-search/cve-search
Commit Name: 0f2d4db89845b9fe748bb8df19c166ebc937c930
Time: 2020-08-11
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_cpe_dictionary.py
Class Name: CPEDownloads
Method Name: download_site