diff --git a/app/otbImageClassifierFromDeepFeatures.cxx b/app/otbImageClassifierFromDeepFeatures.cxx index 5f76322d3690ac8bbb9af2e70e5625ad15a8ca58..c95abc0e4955681509e854b422796ea3a1f91cfe 100644 --- a/app/otbImageClassifierFromDeepFeatures.cxx +++ b/app/otbImageClassifierFromDeepFeatures.cxx @@ -127,7 +127,7 @@ private: // Nothing to do } }; -} -} +} // namespace Wrapper +} // namespace otb OTB_APPLICATION_EXPORT( otb::Wrapper::ImageClassifierFromDeepFeatures ) diff --git a/app/otbTensorflowModelServe.cxx b/app/otbTensorflowModelServe.cxx index d9fcf05d77deb2627eebb0d8f64873e4934728e3..bfffbc49644e26a88083cd084440cae244e0dfbf 100644 --- a/app/otbTensorflowModelServe.cxx +++ b/app/otbTensorflowModelServe.cxx @@ -289,7 +289,7 @@ public: otbAppLogINFO("Output field of expression: " << m_TFFilter->GetOutputExpressionFields()[0]); // Streaming - if (GetParameterInt("optim.disabletiling")!=1) + if (GetParameterInt("optim.disabletiling") != 1) { // Get the tile size const unsigned int tileSize = GetParameterInt("optim.tilesize"); diff --git a/app/otbTrainClassifierFromDeepFeatures.cxx b/app/otbTrainClassifierFromDeepFeatures.cxx index d1377e82e005250d2b9e50ea2fc84df33f7356b0..343b290fd446b92aa75cac0061f1ca2462721348 100644 --- a/app/otbTrainClassifierFromDeepFeatures.cxx +++ b/app/otbTrainClassifierFromDeepFeatures.cxx @@ -79,8 +79,8 @@ private: ClearApplications(); // Add applications - AddApplication("TrainImagesClassifier", "train" , "Train images classifier" ); - AddApplication("TensorflowModelServe" , "tfmodel", "Serve the TF model" ); + AddApplication("TrainImagesClassifier", "train", "Train images classifier"); + AddApplication("TensorflowModelServe", "tfmodel", "Serve the TF model"); // Model shared parameters AddAnInputImage(); @@ -88,21 +88,21 @@ private: { AddAnInputImage(i); } - ShareParameter("model", "tfmodel.model", "Deep net model parameters", "Deep net model parameters"); - ShareParameter("output", "tfmodel.output", "Deep net outputs parameters", "Deep net outputs parameters"); - ShareParameter("optim", "tfmodel.optim", "This group of parameters allows optimization of processing time", "This group of parameters allows optimization of processing time"); + ShareParameter("model", "tfmodel.model", "Deep net inputs parameters", "Parameters of the deep net inputs: placeholder names, receptive fields, etc."); + ShareParameter("output", "tfmodel.output", "Deep net outputs parameters", "Parameters of the deep net outputs: tensors names, expression fields, etc."); + ShareParameter("optim", "tfmodel.optim", "Processing time optimization", "This group of parameters allows optimization of processing time"); // Train shared parameters - ShareParameter("vd" , "train.io.vd" , "Input vector data list" , "Input vector data list" ); - ShareParameter("valid" , "train.io.valid" , "Validation vector data list" , "Validation vector data list" ); - ShareParameter("out" , "train.io.out" , "Output model" , "Output model" ); - ShareParameter("confmatout" , "train.io.confmatout" , "Output model confusion matrix" , "Output model confusion matrix" ); + ShareParameter("vd", "train.io.vd", "Vector data for training", "Input vector data for training"); + ShareParameter("valid", "train.io.valid", "Vector data for validation", "Input vector data for validation"); + ShareParameter("out", "train.io.out", "Output classification model", "Output classification model"); + ShareParameter("confmatout", "train.io.confmatout", "Output confusion matrix", "Output confusion matrix of the classification model"); // Shared parameter groups - ShareParameter("sample" , "train.sample" , "Training and validation samples parameters" , "Training and validation samples parameters" ); - ShareParameter("elev" , "train.elev" , "Elevation management" , "Elevation management" ); - ShareParameter("classifier" , "train.classifier" , "Classifier" , "Classifier" ); - ShareParameter("rand" , "train.rand" , "User defined rand seed" , "User defined rand seed" ); + ShareParameter("sample", "train.sample", "Sampling parameters" , "Training and validation samples parameters" ); + ShareParameter("elev", "train.elev", "Elevation parameters", "Elevation parameters" ); + ShareParameter("classifier", "train.classifier", "Classifier parameters", "Classifier parameters" ); + ShareParameter("rand", "train.rand", "User defined random seed", "User defined random seed" ); } @@ -126,7 +126,7 @@ private: } }; -} -} +} // namespace Wrapper +} // namespace otb OTB_APPLICATION_EXPORT( otb::Wrapper::TrainClassifierFromDeepFeatures )