Commit 803307c7 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

Merge branch 'train_image_classifier_listview' into 'release-7.1'

Fix listview parameter in TrainImagesClassifier

See merge request !699
parents af8db839 7e7cb3e2
Pipeline #3987 failed with stages
in 70 minutes and 54 seconds
......@@ -148,7 +148,6 @@ void TrainImagesBase::ShareClassificationParams()
void TrainImagesBase::ConnectClassificationParams()
Connect("training.cfield", "polystat.field");
Connect("select.rand", "training.rand");
......@@ -264,6 +263,12 @@ void TrainImagesBase::TrainModel(FloatVectorImageListType* imageList, const std:
selectedNames.push_back("value_" + oss.str());
GetInternalApplication("training")->SetParameterStringList("feat", selectedNames);
// cfield is not directly connected to sample.vfn (ListView parameter) because the associated vector
// data is not the same (the fields are not the same).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment