Browse Source

reduced console output

Sven Sickert 9 years ago
parent
commit
fe7a4f1a28
2 changed files with 4 additions and 3 deletions
  1. 3 2
      semseg/SemSegContextTree3D.cpp
  2. 1 1
      semseg/SemSegTools.cpp

+ 3 - 2
semseg/SemSegContextTree3D.cpp

@@ -1250,15 +1250,16 @@ void SemSegContextTree3D::train ( const LabeledSet * trainp )
 
             if ( !forest[tree][node].isleaf && forest[tree][node].left != -1 )
             {
+#ifdef DEBUG
                 cout <<  forest[tree][node].feat->writeInfos() << endl;
+#endif
                 opOverview[ forest[tree][node].feat->getOps() ]++;
                 contextOverview[forest[tree][node].depth][ ( int ) forest[tree][node].feat->getContext() ]++;
             }
 #ifdef DEBUG
             for ( int d = 0; d < ( int ) forest[tree][node].dist.size(); d++ )
-            {
                 cout << " " << forest[tree][node].dist[d];
-            }
+
             cout << endl;
 #endif
         }

+ 1 - 1
semseg/SemSegTools.cpp

@@ -182,7 +182,7 @@ void SemSegTools::computeClassificationStatistics(
     std::cout << "\nF1Score: " << f1score;
     std::cout << "\nIU: " << iuScore;
     std::cout << "\n\nAverage Recognition Rate: " << confMat.trace() / (double)classMappingInv.size();
-    std::cout << "\nLower Bound: " << 1.0 /(double)classMappingInv.size();
+    //std::cout << "\nLower Bound: " << 1.0 /(double)classMappingInv.size();
     std::cout << std::endl;
 }