Mercurial > hg > segmentation
comparison SegEval.py @ 2:ef1fd8b0f3c4
gt files
author | mi tian |
---|---|
date | Fri, 03 Apr 2015 15:44:32 +0100 |
parents | c11ea9e0357f |
children | bac230fcd7bd |
comparison
equal
deleted
inserted
replaced
1:c11ea9e0357f | 2:ef1fd8b0f3c4 |
---|---|
366 tempo_detection = [0.0] + [ao.ssm_timestamps[int(np.rint(i))] for i in tempo_novelty_peaks] | 366 tempo_detection = [0.0] + [ao.ssm_timestamps[int(np.rint(i))] for i in tempo_novelty_peaks] |
367 | 367 |
368 # Experiment 2: Trying combined features using the best boundary retrieval method | 368 # Experiment 2: Trying combined features using the best boundary retrieval method |
369 ao_featureset = [ao.gammatone_features, ao.harmonic_features, ao.timbre_features, ao.tempo_features] | 369 ao_featureset = [ao.gammatone_features, ao.harmonic_features, ao.timbre_features, ao.tempo_features] |
370 feature_sel = [int(x) for x in options.FEATURES if x.isdigit()] | 370 feature_sel = [int(x) for x in options.FEATURES if x.isdigit()] |
371 ao_featureset = [ao_featureset[i] for i in feature_sel] | 371 fused_featureset = [ao_featureset[i] for i in feature_sel] |
372 | 372 |
373 | 373 |
374 | 374 |
375 def main(): | 375 def main(): |
376 | 376 |
377 segmenter = SSMseg() | 377 segmenter = SSMseg() |