We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOs 13.6 - pyannote 3.1 - M2 air
2 variants that according to the docstring should be correct inputs instead raise a ValueError:
pipeline=Pipeline.from_pretrained( "pyannote/speaker-diarization-3.1", use_auth_token=os.environ["HF_API_KEY"] ) audio = Audio()({'waveform': waveform, 'sample_rate': sample_rate}) # waveform is 2d numpy array segmentations = pipeline.get_segmentations(audio) # raises segmentations = pipeline.get_segmentations({'waveform': waveform, 'sample_rate': sample_rate}) # raises segmentations = pipeline.get_segmentations({'waveform': torch.from_numpy(waveform), 'sample_rate': sample_rate}) # succeeds
see above
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tested versions
System information
macOs 13.6 - pyannote 3.1 - M2 air
Issue description
2 variants that according to the docstring should be correct inputs instead raise a ValueError:
Minimal reproduction example (MRE)
see above
The text was updated successfully, but these errors were encountered: