comparison transform/FeatureExtractionModelTransformer.cpp @ 893:8db820ad2b8f tonioni

Comment out some debug
author Chris Cannam
date Tue, 01 Apr 2014 13:27:32 +0100
parents b109b88bfa85
children c3656035240f
comparison
equal deleted inserted replaced
888:0c8218b2d84a 893:8db820ad2b8f
511 } 511 }
512 512
513 SparseTimeValueModel * 513 SparseTimeValueModel *
514 FeatureExtractionModelTransformer::getAdditionalModel(int n, int binNo) 514 FeatureExtractionModelTransformer::getAdditionalModel(int n, int binNo)
515 { 515 {
516 std::cerr << "getAdditionalModel(" << n << ", " << binNo << ")" << std::endl; 516 // std::cerr << "getAdditionalModel(" << n << ", " << binNo << ")" << std::endl;
517 517
518 if (binNo == 0) { 518 if (binNo == 0) {
519 std::cerr << "Internal error: binNo == 0 in getAdditionalModel (should be using primary model)" << std::endl; 519 std::cerr << "Internal error: binNo == 0 in getAdditionalModel (should be using primary model)" << std::endl;
520 return 0; 520 return 0;
521 } 521 }
884 SparseTimeValueModel *targetModel = model; 884 SparseTimeValueModel *targetModel = model;
885 885
886 if (m_needAdditionalModels[n] && i > 0) { 886 if (m_needAdditionalModels[n] && i > 0) {
887 targetModel = getAdditionalModel(n, i); 887 targetModel = getAdditionalModel(n, i);
888 if (!targetModel) targetModel = model; 888 if (!targetModel) targetModel = model;
889 std::cerr << "adding point to model " << targetModel 889 // std::cerr << "adding point to model " << targetModel
890 << " for output " << n << " bin " << i << std::endl; 890 // << " for output " << n << " bin " << i << std::endl;
891 } 891 }
892 892
893 targetModel->addPoint 893 targetModel->addPoint
894 (SparseTimeValueModel::Point(frame, value, label)); 894 (SparseTimeValueModel::Point(frame, value, label));
895 } 895 }