Bjoern Froehlich hace 13 años
padre
commit
0df8f9a57a
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. 5 4
      semseg/SemSegContextTree.cpp

+ 5 - 4
semseg/SemSegContextTree.cpp

@@ -1837,7 +1837,6 @@ void SemSegContextTree::restore (std::istream & is, int format)
     
     for (int n = 0; n < nodes; n++)
     {
-      cout << "node: " << n << " of " << nodes << endl;
       TreeNode tmpnode;
       forest[t].push_back (tmpnode);
       is >> forest[t][n].left;
@@ -1847,8 +1846,10 @@ void SemSegContextTree::restore (std::istream & is, int format)
       is >> forest[t][n].isleaf;
       is >> forest[t][n].depth;
       is >> forest[t][n].featcounter;
-cout << 2 << endl;
+cout << 1 << endl;
       is >> forest[t][n].nodeNumber;
+      cout << forest[t][n].nodeNumber << endl;
+cout << 2 << endl;
       is >> forest[t][n].dist;
 cout << 3 << endl;
       int feattype;
@@ -1875,10 +1876,10 @@ cout << 3 << endl;
             }
           }
         }
-cout << 5 << endl;
+
         assert (forest[t][n].feat != NULL);
         forest[t][n].feat->restore (is);
-        cout << 6 << endl;
+        
       }
     }
   }