|
@@ -1554,6 +1554,11 @@ void SemSegContextTree::semanticseg (CachedExample *ce, NICE::Image & segresult,
|
|
|
{
|
|
|
if(cndir != "")
|
|
|
{
|
|
|
+
|
|
|
+ std::vector< std::string > list;
|
|
|
+ StringTools::split (currentFile, '/', list);
|
|
|
+ string orgname = list.back();
|
|
|
+
|
|
|
ifstream infile ((cndir + "/" + orgname + ".dat").c_str());
|
|
|
while (!infile.eof() && infile.good())
|
|
|
{
|