Definition at line 222 of file mainActiveLearner.cpp. References Impala::CmdOptions::AddOption(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::Initialise(), Impala::CmdOptions::ParseArgs(), and RunDistributedLearningEngine(). Referenced by main(). 00223 { 00224 Link::Mpi::Init(&argc, &argv); 00225 CmdOptions& options = CmdOptions::GetInstance(); 00226 options.Initialise(false, false, true); 00227 options.AddOption(0, "assume-shotid", "bool", "0"); 00228 options.AddOption('m', "cache", "megabytes", "10"); 00229 //options.AddOption(0, "kernel", "string: [linear,poly,rbf,sigmoid,precomputed,hist,dist-precomputed]", "rbf"); 00230 options.AddOption(0, "maxVideoId", "index", "-1"); 00231 options.AddOption(0, "maxPosPerVideo", "number", "-1"); 00232 options.AddOption(0, "maxNegPerVideo", "number", "-1"); 00233 00234 if (! options.ParseArgs(argc, argv, "<video set> <concept definitions> <model type> <features>", 4)) 00235 { 00236 Link::Mpi::Finalize(); 00237 return 1; 00238 } 00239 00240 return RunDistributedLearningEngine(options); 00241 }
Here is the call graph for this function:
|