HuangZiliAndy / RPNSD

PyTorch implementation of RPNSD
MIT License
60 stars 15 forks source link

How do I run RPNSD on a single audio file with the pretrained model? #8

Open null0nil opened 4 years ago

null0nil commented 4 years ago

Hi,

Thanks for making RPNSD available. I was wondering, what if I don't want to run the experiment? Say I have a long audio file, file.wav, can I just run RPNSD on it and get the diarization result? For example, something like:

  ./diarize.py  --pretrained_model modelbest.pth.tar file.wav

Thanks

HuangZiliAndy commented 4 years ago

Hi,

Thanks for making RPNSD available. I was wondering, what if I don't want to run the experiment? Say I have a long audio file, file.wav, can I just run RPNSD on it and get the diarization result? For example, something like:

  ./diarize.py  --pretrained_model modelbest.pth.tar file.wav

Thanks

Hi, I think it is a good idea to support this and it is not very difficult based on the inference code. I think I will take a look this week. (sorry I am overwhelmed recently)

Thanks!

null0nil commented 4 years ago

Hi, just checking..