Closed chiaki-luo closed 1 year ago
Dear author, I tried the example code: from diart import SpeakerDiarization from diart.sources import MicrophoneAudioSource from diart.inference import StreamingInference from diart.sinks import RTTMWriter
pipeline = SpeakerDiarization() mic = MicrophoneAudioSource() inference = StreamingInference(pipeline, mic, do_plot=True) inference.attach_observers(RTTMWriter(mic.uri, "/output/file.rttm")) prediction = inference()
but it seems that the program can't recognise the speaker Could you help me? Thank you very much!
Dear author, I tried the example code: from diart import SpeakerDiarization from diart.sources import MicrophoneAudioSource from diart.inference import StreamingInference from diart.sinks import RTTMWriter
pipeline = SpeakerDiarization() mic = MicrophoneAudioSource() inference = StreamingInference(pipeline, mic, do_plot=True) inference.attach_observers(RTTMWriter(mic.uri, "/output/file.rttm")) prediction = inference()
but it seems that the program can't recognise the speaker Could you help me? Thank you very much!