|
@@ -1973,6 +1973,8 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
|
|
string orgname = list.back();
|
|
string orgname = list.back();
|
|
if ( cndir != "" )
|
|
if ( cndir != "" )
|
|
{
|
|
{
|
|
|
|
+ ofstream outstream("filelist.txt",ofstream::app);
|
|
|
|
+ outstream << orgname << ".dat" << endl;
|
|
useclass = vector<int> ( classes, 0 );
|
|
useclass = vector<int> ( classes, 0 );
|
|
ifstream infile ( ( cndir + "/" + orgname + ".dat" ).c_str() );
|
|
ifstream infile ( ( cndir + "/" + orgname + ".dat" ).c_str() );
|
|
while ( !infile.eof() && infile.good() )
|
|
while ( !infile.eof() && infile.good() )
|