|
@@ -22,6 +22,8 @@
|
|
#include <objrec-froehlichexp/semseg/SemSegRegionBased.h>
|
|
#include <objrec-froehlichexp/semseg/SemSegRegionBased.h>
|
|
#include <objrec-froehlichexp/semseg/SemSegContextTree.h>
|
|
#include <objrec-froehlichexp/semseg/SemSegContextTree.h>
|
|
|
|
|
|
|
|
+#include <fast-hik/ResourceStatistics.h>
|
|
|
|
+
|
|
#include <fstream>
|
|
#include <fstream>
|
|
|
|
|
|
|
|
|
|
@@ -71,7 +73,9 @@ int main( int argc, char **argv )
|
|
std::set_terminate( __gnu_cxx::__verbose_terminate_handler );
|
|
std::set_terminate( __gnu_cxx::__verbose_terminate_handler );
|
|
|
|
|
|
Config conf( argc, argv );
|
|
Config conf( argc, argv );
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ ResourceStatistics rs;
|
|
|
|
+
|
|
bool show_result = conf.gB( "debug", "show_results", false );
|
|
bool show_result = conf.gB( "debug", "show_results", false );
|
|
|
|
|
|
bool write_results = conf.gB( "debug", "write_results", false );
|
|
bool write_results = conf.gB( "debug", "write_results", false );
|
|
@@ -229,6 +233,10 @@ int main( int argc, char **argv )
|
|
|
|
|
|
pb.hide();
|
|
pb.hide();
|
|
|
|
|
|
|
|
+ long maxMemory;
|
|
|
|
+ rs.getMaximumMemory(maxMemory);
|
|
|
|
+ cerr << "Maximum memory used: " << maxMemory << " KB" << endl;
|
|
|
|
+
|
|
double overall = 0.0;
|
|
double overall = 0.0;
|
|
double sumall = 0.0;
|
|
double sumall = 0.0;
|
|
|
|
|