-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add websocket compatibility + other improvements #77
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…and Benchmark can now run without writing to disk
juanmc2005
changed the title
Add websocket compatibility
Add websocket compatibility + API improvements
Jul 29, 2022
TODO: Rename This object has nothing to do with RTTM files |
juanmc2005
changed the title
Add websocket compatibility + API improvements
Add websocket compatibility + other improvements
Aug 30, 2022
Test the following:
|
This was referenced Aug 31, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses issue #9, #73, #79 and partly #68.
Changelog
WebSocketAudioSource
websockets>=10.3
dependencyResample
block--segmentation
and--embedding
arguments todiart.stream
,diart.benchmark
anddiart.tune
diart.blocks.AdjustVolume
to dynamically change the volume of chunksTemporalFeatureFormatter
more flexibleattach_hooks()
andattach_observers()
toRealTimeInference
so users can receive pipeline outputs and perform custom operations without rewriting the inference codeto_dict()
andto_inverse_dict()
toSpeakerMap
to handle assignments more easilyOptimizer.optimize(...)
withOptimizer.__call__()
to be consistent with the rest of the APIlatency="max"
orlatency="min"
inPipelineConfig
config=None
inOnlineSpeakerDiarization
, which will instantiate a default configdiart.sinks.DiarizationPredictionAccumulator
to accumulate diarization predictions in memory without writing to diskDiarizationPredictionAccumulator
andRTTMWriter
accept any tuple as long as the first element is anAnnotation