Bjoern Froehlich 13 жил өмнө
parent
commit
a4d77f2cce

+ 2 - 0
semseg/SemSegContextTree.cpp

@@ -1973,6 +1973,8 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
   string orgname = list.back();
   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() )