Kaynağa Gözat

hide unnecessary command line output of SemanticSegmentation.cpp

Sven Sickert 10 yıl önce
ebeveyn
işleme
51bf941d03
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      semseg/SemanticSegmentation.cpp

+ 2 - 0
semseg/SemanticSegmentation.cpp

@@ -88,7 +88,9 @@ void SemanticSegmentation::semanticseg ( const std::string & filename,
     NICE::Image img = Preprocess::ReadImgAdv ( filename );
     NICE::Image img = Preprocess::ReadImgAdv ( filename );
     ce = new CachedExample ( img );
     ce = new CachedExample ( img );
   }
   }
+#ifdef DEBUG_PRINTS
   fprintf ( stderr, "Starting Semantic Segmentation !\n" );
   fprintf ( stderr, "Starting Semantic Segmentation !\n" );
+#endif
   this->semanticseg ( ce, segresult, probabilities );
   this->semanticseg ( ce, segresult, probabilities );
   delete ce;
   delete ce;
 }
 }