|
@@ -495,6 +495,10 @@ void SemSegContextTree3D::train ( const MultiDataset *md )
|
|
|
{
|
|
|
train ( trainp );
|
|
|
}
|
|
|
+
|
|
|
+#ifdef VERBOSE
|
|
|
+ printFeatureStatistics();
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
void SemSegContextTree3D::train ( const LabeledSet * trainp )
|
|
@@ -1029,7 +1033,11 @@ void SemSegContextTree3D::train ( const LabeledSet * trainp )
|
|
|
cerr << "Time for Categorization: " << timer.getLastAbsolute() << " seconds\n" << endl;
|
|
|
}
|
|
|
|
|
|
-#ifdef VERBOSE
|
|
|
+}
|
|
|
+
|
|
|
+void SemSegContextTree3D::printFeatureStatistics ()
|
|
|
+{
|
|
|
+
|
|
|
cout << "\nFEATURE USAGE" << endl;
|
|
|
cout << "#############\n" << endl;
|
|
|
|
|
@@ -1103,7 +1111,6 @@ void SemSegContextTree3D::train ( const LabeledSet * trainp )
|
|
|
|
|
|
cout << "Depth [" << d+1 << "] Normal: " << contextOverview[d][0] << " Context: " << contextOverview[d][1] << endl;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
}
|
|
|
|