Skip to content
New issue

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

Version 0.9 #217

Merged
merged 10 commits into from
Nov 19, 2023
Merged

Version 0.9 #217

merged 10 commits into from
Nov 19, 2023

Conversation

sorgfresser and others added 8 commits November 11, 2023 13:25
* bump pyannote to 3.0

* add wespeaker inference

* add weights normalization, cpu for numpy conversion

* unify api

* remove try catch

* always normalize

* use PretrainedSpeakerEmbedding in Loader

* Fix min-max normalization equation

* fix: remove imports

* Change embedding model return type to Callable

Co-authored-by: Simon <[email protected]>

* fix: remove type checking

* remove from active if NaN embeddings

* Fix wrong typing of model in `LazyModel`

* add docstrings

* Simplify EmbeddingModel.__call__()

* Add numpy import

* add normalize boolean

* Update requirements.txt

* Update setup.cfg

* Apply suggestions from code review

* Fix wrong kwarg name

* add abstract __call__

* move __call__ to parent class

---------

Co-authored-by: Juan Coria <[email protected]>
* feat: add support for powerset segmentation models

* wip: trying this PowersetAdapter thing

* fix: initialize nn.Module before setting attribute

* Fix unresolved duration and sample rate

* Apply suggestions from code review

* fix: remove Inference import

* fix: black embedding.py

... though it has nothing to do with this PR...

---------

Co-authored-by: Juan Coria <[email protected]>
* Add ONNX segmentation and embedding models

* Minor readability improvements

* Replace onnxruntime with onnxruntime-gpu

* ONNX can have only one output

* Clean up useless embedding model subclasses

* Remove duration and sample_rate properties from SegmentationModel. Clean up code

* Update README
* Add initial docs

* Include README in docs page

* Improve README

* Update README

* Add docs requirements.txt

* Add readthedocs config file

* Fix links

* Add some docstrings

* Ignore private attrs in docs

* Add some docstrings. Effectively ignore __init__

* Blacken code

* Blacken code with good version

* Clean up some code

* Fix wrong html title
* Add link to accept conditions of segmentation 3.0

* Add table with available models. Add some latencies

* Add more info on selecting different models

* Add missing info on available models

* Improve top menu

* Improve python badge

* Move things around. Simplify code and wording

* Add dark themed logo

* Remove whitespace at the top

* Update README.md

* Rename from_pyannote to from_pretrained in segmentation and embedding blocks

* Separate huggingface links from model name

* Fix reproducibility link

* Add animated diarization pipeline diagram

* Improve pipeline gif

* Update README.md

* Update snippet gif. Fix torch multiprocessing crash with pyannote 3.1. Other README improvements

* Update README.md

* Fix bad link
* Update version. Add reproducibility note

* Add link to pyannote 3.1 interpolation issue in README
@juanmc2005 juanmc2005 added bug Something isn't working documentation Improvements or additions to documentation feature New feature or request API Improvements to the API ops Improvements to the project that don't impact the code labels Nov 18, 2023
@juanmc2005 juanmc2005 added this to the Version 0.9 milestone Nov 18, 2023
src/diart/argdoc.py Outdated Show resolved Hide resolved
src/diart/models.py Outdated Show resolved Hide resolved
@juanmc2005 juanmc2005 merged commit 9e6c2e9 into main Nov 19, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Improvements to the API bug Something isn't working documentation Improvements or additions to documentation feature New feature or request ops Improvements to the project that don't impact the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants