curfil  ..
 All Classes Functions Variables Typedefs Friends Groups Pages
train.h
1 #ifndef CURFIL_TRAIN_H
2 #define CURFIL_TRAIN_H
3 
4 #include "random_forest_image.h"
5 
6 namespace curfil
7 {
8 
12 void determineImageCacheSizeAndSamplesPerBatch(const std::vector<LabeledRGBDImage>& images,
13  const std::vector<int>& deviceId, const size_t featureCount, const size_t numThresholds,
14  size_t imageCacheSizeMB, unsigned int& imageCacheSize, unsigned int& maxSamplesPerBatch);
15 
24 RandomForestImage train(std::vector<LabeledRGBDImage>& images, size_t trees,
25  const TrainingConfiguration& configuration, size_t numLabels, bool trainTreesInParallel);
26 
27 }
28 
29 #endif