6fe60e43efbac200052a76b0a849c4c7cd4654a5,ilastik/applets/networkClassification/nnClassGui.py,NNClassGui,pred_nn,#NNClassGui#,156

Before Change


        // result = self.classifier_factories[classifier_key].predict_probabilities_pixelwise(self.topLevelOperator.InputImage.value, roi, axistags)
        self.topLevelOperator.Classifier.setValue(self.classifier_factories[classifier_key])

        predict = self.topLevelOperator.CachedPredictionProbabilities[:].wait()
        print ("Done")

        // numpy.save("/Users/jmassa/Desktop/predictions",predict)

After Change


            input_shape = input_shape[1:]
            input_shape = numpy.append(input_shape,None)

            halo_size = self.classifiers[classifier_key].HALO_SIZE
            input_shape[1:3] -= 2*halo_size

            self.topLevelOperator.BlockShape.setValue(input_shape)
            self.topLevelOperator.NumClasses.setValue(3)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 6fe60e43efbac200052a76b0a849c4c7cd4654a5
Time: 2018-04-25
Author: jonas.massa@iwr.uni-heidelberg.de
File Name: ilastik/applets/networkClassification/nnClassGui.py
Class Name: NNClassGui
Method Name: pred_nn


Project Name: ilastik/ilastik
Commit Name: 04ea8e46492167e73f1332d7fd7dfc365baf96ab
Time: 2012-04-23
Author: bergs@janelia.hhmi.org
File Name: ilastik-shell/applets/dataSelection/opNpyFileReader.py
Class Name: OpNpyFileReader
Method Name: execute


Project Name: studioml/studio
Commit Name: 98e076db42aab04d3658c593669bbbd66a1eb4e1
Time: 2017-06-08
Author: peter.zhokhov@sentient.ai
File Name: studio/runner.py
Class Name:
Method Name: main