Skip to content

Prediction Parameters

ferasha edited this page Sep 23, 2014 · 6 revisions

Basic parameters

Parameter Required Default Description
--folderTesting FOLDER Yes Folder that contains images for prediction. All images must have the same size. The format of the dataset is described in the README in more detail.
--treeFile FILE Yes Path to one of the trees in the random forest in the compressed JSON format. This parameter can (it usually does) occur multiple times.
--folderPrediction FOLDER No Empty (No prediction images written) Folder to output prediction images to. Leave empty to suppress writing of prediction images.
--writeProbabilityImages BOOL No False Whether to write PNGs with the per-class probabilities of the prediction.

Dataset Preprocessing

Parameter Required Default Description
--useDepthFilling BOOL No False Whether to do simple depth filling. Simple depth filling reconstructs missing depth information by taking depth of neighboring pixels.

Performance Parameters

Parameter Required Default Description
--mode MODE No gpu Acceleration mode. MODE is 'gpu' (default), 'cpu' or 'compare'. Compare is only used for debugging purposes. It executes all code on GPU and on CPU and compares the result.
--deviceId NUM No 0 GPU device id that is used for training. Only necessary if acceleration mode is GPU.
--numThreads NUM No Number of CPU cores in your system Number of threads that are used for training.
--profile BOOL No False Whether to enable profiling output.

Special Parameters

Parameter Required Default Description
--histogramBias BIAS No 0.0 Histogram bias where 0 <= BIAS <= 1.0. TODO: more detailed documentation.
--useLabelsPrior BOOL No True Whether to multiply histograms by the labels prior.