Browse Source

small bugfix

Sven Sickert 11 năm trước cách đây
mục cha
commit
e8706f0bbb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      semseg/SemSegContextTree.cpp

+ 1 - 1
semseg/SemSegContextTree.cpp

@@ -1620,7 +1620,7 @@ void SemSegContextTree::addFeatureMaps (
     }
   }
 
-  int classes = labelmapback.size();
+  int classes = classNames->numClasses();
 
   if ( useFeat3 )
     imgData.addChannel ( classes );