Skip to content
Snippets Groups Projects
Commit 681425bd authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

Working MPI and non MPI HPO with new validation file option.

parent 61471ba7
No related branches found
No related tags found
2 merge requests!5MPI version of tadah,!3MPI version of Tadah
Pipeline #44343 failed
......@@ -321,7 +321,7 @@ void TadahCLI::subcommand_hpo(
}
if (is_verbose()) std::cout << "Optimising HPs..." << std::endl;
CLI::Timer timer_tot {"HPO", CLI::Timer::Big};
hpo_run(config, target_file); // TODO pass prediction file
hpo_run(config, target_file, validation_file);
if (is_verbose()) std::cout << timer_tot.to_string() << std::endl;
}
else { // WORKER
......@@ -367,7 +367,7 @@ void TadahCLI::subcommand_hpo(
#else
CLI::Timer timer_tot {"HPO", CLI::Timer::Big};
if (is_verbose()) std::cout << "Optimising HPs..." << std::endl;
hpo_run(config, target_file);
hpo_run(config, target_file, validation_file);
if (is_verbose()) std::cout << timer_tot.to_string() << std::endl;
#endif
......
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