|
@@ -1184,13 +1184,13 @@ void SemSegContextTree3D::train ( const LabeledSet * trainp )
|
|
|
globalCategorFeats[i]->setDim ( uniquenumber );
|
|
|
globalCategorFeats[i]->normalize();
|
|
|
}
|
|
|
- map<int,Vector> ys;
|
|
|
+ std::map< uint, NICE::Vector > ys;
|
|
|
|
|
|
- int cCounter = 0;
|
|
|
- for ( map<int,int>::const_iterator it = labelmap.begin();
|
|
|
+ uint cCounter = 0;
|
|
|
+ for ( std::map<int,int>::const_iterator it = labelmap.begin();
|
|
|
it != labelmap.end(); it++, cCounter++ )
|
|
|
{
|
|
|
- ys[cCounter] = Vector ( globalCategorFeats.size() );
|
|
|
+ ys[cCounter] = NICE::Vector ( globalCategorFeats.size() );
|
|
|
for ( int i = 0; i < imgCounter; i++ )
|
|
|
{
|
|
|
if ( classesPerImage[i].find ( it->first ) != classesPerImage[i].end() )
|