ubclaunchpad / minutes

:telescope: Speaker diarization via transfer learning
https://medium.com/ubc-launch-pad-software-engineering-blog/speaker-diarisation-using-transfer-learning-47ca1a1226f4
27 stars 5 forks source link

Transition Minutes from API to library #103

Closed iKevinY closed 6 years ago

iKevinY commented 6 years ago

This is the usage that I'm currently envisioning:

from minutes import Minutes

m = Minutes()

m.add_speaker('speaker-1', '/audio/speaker-1/a.mp3')
m.add_speaker('speaker-1', '/audio/speaker-1/b.mp3')

m.add_speaker('speaker-2', '/audio/speaker-2/a.mp3')

# Perform transfer learning, training last layer(s) with the above data
m.train()

# Do prediction
m.predict(X)
chadlagore commented 6 years ago

Might I suggest,

m.predict('/audio/conversation.mp3')
chadlagore commented 6 years ago

Handled in #107