Bjoern Froehlich 13 vuotta sitten
vanhempi
commit
522c5d8b1d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      semseg/SemSegContextTree.cpp

+ 2 - 2
semseg/SemSegContextTree.cpp

@@ -577,9 +577,9 @@ void SemSegContextTree::train ( const MultiDataset *md )
 					double lcounter = 0.0, rcounter = 0.0;
 					for(uint d = 0; d < tree[left].dist.size(); d++)
 					{
-						//tree[left].dist[d]/=a[d];
+						tree[left].dist[d]/=a[d];
 						lcounter +=tree[left].dist[d];
-						//tree[right].dist[d]/=a[d];
+						tree[right].dist[d]/=a[d];
 						rcounter +=tree[right].dist[d];
 					}
 					if(lcounter <= 0 || rcounter <= 0)