Skip to content
Snippets Groups Projects
Commit ccef1595 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

Merge branch 'mantis-1368' into develop

parents f8d5877c 6600addd
No related branches found
No related tags found
No related merge requests found
...@@ -474,7 +474,8 @@ void DoExecute() ITK_OVERRIDE ...@@ -474,7 +474,8 @@ void DoExecute() ITK_OVERRIDE
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Train model // Train model
GetInternalApplication("training")->SetParameterStringList("io.vd",sampleTrainOutputs, false); GetInternalApplication("training")->SetParameterStringList("io.vd",sampleTrainOutputs, false);
GetInternalApplication("training")->SetParameterStringList("valid.vd",sampleValidOutputs, false); if( vtr!=0.0 && !sampleValidOutputs.empty() )
GetInternalApplication("training")->SetParameterStringList("valid.vd",sampleValidOutputs, false);
UpdateInternalParameters("training"); UpdateInternalParameters("training");
// set field names // set field names
FloatVectorImageType::Pointer image = imageList->GetNthElement(0); FloatVectorImageType::Pointer image = imageList->GetNthElement(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment