浏览代码

hide unnecessary command line output of SemanticSegmentation.cpp

Sven Sickert 10 年之前
父节点
当前提交
51bf941d03
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 );
     ce = new CachedExample ( img );
   }
+#ifdef DEBUG_PRINTS
   fprintf ( stderr, "Starting Semantic Segmentation !\n" );
+#endif
   this->semanticseg ( ce, segresult, probabilities );
   delete ce;
 }