|
@@ -1971,10 +1971,12 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
|
|
|
StringTools::split ( currentFile, '/', list );
|
|
|
|
|
|
string orgname = list.back();
|
|
|
+#ifdef WRITEGLOB
|
|
|
+ ofstream outstream("filelist.txt",ofstream::app);
|
|
|
+ outstream << orgname << ".dat" << endl;
|
|
|
+#endif
|
|
|
if ( cndir != "" )
|
|
|
{
|
|
|
- ofstream outstream("filelist.txt",ofstream::app);
|
|
|
- outstream << orgname << ".dat" << endl;
|
|
|
useclass = vector<int> ( classes, 0 );
|
|
|
ifstream infile ( ( cndir + "/" + orgname + ".dat" ).c_str() );
|
|
|
while ( !infile.eof() && infile.good() )
|