Skip to content
Snippets Groups Projects
Commit 29805bb8 authored by ale's avatar ale
Browse files

convert paths to str objects for marsyas

parent a9591397
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ class TimbreFeatureExtractor(processor.Processor):
def process(self, mp3):
log.info('extracting features from %s' % mp3.sha1)
try:
timbre_vector = feature_extraction.vector_from_file(mp3.path)
timbre_vector = feature_extraction.vector_from_file(str(mp3.path))
vector_str = marsyas_utils.serialize_realvec(timbre_vector)
except Exception, e:
log.error('error processing %s: %s' % (mp3.sha1, e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment