瀏覽代碼

Merge branch 'master', remote branch 'origin/master'

Alexander Freytag 12 年之前
父節點
當前提交
d6aa82bf62
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      semseg/SemSegCsurka.cpp
  2. 3 3
      semseg/SemSegNovelty.cpp
  3. 1 1
      semseg/SemSegNovelty.h

+ 1 - 1
semseg/SemSegCsurka.cpp

@@ -1316,7 +1316,7 @@ void SemSegCsurka::classifyregions ( CachedExample *ce, NICE::Image & segresult,
   else if ( opSiftImpl == "VANDESANDE" )
   {
     // the used features
-    cSIFT = new LFColorSande ( conf, "LFColorSandeTrain" );
+    cSIFT = new LFColorSande ( conf, "LFColorSandeTest" );
   }
   else
   {

+ 3 - 3
semseg/SemSegNovelty.cpp

@@ -166,7 +166,7 @@ void SemSegNovelty::visualizeRegion(const NICE::ColorImage &img, const NICE::Mat
         {
           outimage(x,y,c) = img(x,y,c);
         }
-      } 
+      }
     }
   }
 }
@@ -487,7 +487,7 @@ void SemSegNovelty::semanticseg ( CachedExample *ce, NICE::Image & segresult, NI
       double sndMaxMean ( -numeric_limits<double>::max() );     
       
       for ( int j = 0 ; j < cr.scores.size(); j++ )
-      {   
+      {
         if ( forbidden_classesTrain.find ( j ) != forbidden_classesTrain.end() )
         {
           continue;
@@ -987,4 +987,4 @@ void SemSegNovelty::computeNoveltyByGPUncertainty(  NICE::FloatImage & noveltyIm
     delete example.svec;
     example.svec = NULL;
   }  
-}
+}

+ 1 - 1
semseg/SemSegNovelty.h

@@ -77,7 +77,7 @@ class SemSegNovelty : public SemanticSegmentation
     //! maximum uncertainty over all images
     double globalMaxUncert;
     
-    //! current examples for maximum uncertain region
+    //! current examples for most uncertain region
     Examples newTrainExamples;
     
     enum NoveltyMethod{