warning fix

This commit is contained in:
Francesco Gatti
2020-04-09 20:05:10 +02:00
parent f9e3f17c0a
commit 85588f7343
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ void PR::print(){
std::cout<<"precision: "<<precision<<" recall: "<<recall<<" tp: "<<tp<<" fp:"<<fp<<" fn:"<<fn<<std::endl;
}
void readmAPParams( char* config_filename, int& classes, int& map_points,
void readmAPParams( const char* config_filename, int& classes, int& map_points,
int& map_levels, float& map_step, float& IoU_thresh,
float& conf_thresh, bool& verbose) {
YAML::Node config = YAML::LoadFile(config_filename);