-
-
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
Benchmark script + improvements and bug fixes #46
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
…zation into feat/batched
… progress operator. Add chunk number estimation without loading chunks
…egmentation model. Cleaning and refactoring
… to emit the current time for profiling
…sion to disappear. Improve benchmark script help
…sion when batch size is 1
This was referenced May 8, 2022
Closed
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 issues #35 and #39
Changelog
diart.benchmark
script for fast inference, evaluation and real-time latency estimation of the pipeline (issue Add batched mode for faster inference on pre-recorded conversations #35). Only for the standard pipeline for now, custom pipelines will have to modify some internals until this is improved.diart.benchmark
anddiart.demo
with--gpu
FileAudioSource
with theprofile
argument (issue Benchmarking operator #39)ChunkLoader
to centralize all file chunkingobservable.pipe(dops.progress()).subscribe(...)
PipelineConfig
to encapsulate the configuration of the pipeline--no-plot
argument todiart.demo
to skip plotting (as mentioned in Question about reproduce the result #36)functional
compatible with batched inferenceFrameWiseModel
always using chunk duration from model training instead of the duration of the given chunktorch.Tensor
andnumpy.ndarray
inputs (SlidingWindowFeature
compatibility is kept but only for non-batched mode)OnlineSpeakerTracking
as a submodule of the pipeline including clustering and output reconstructionfrom_file()
method toOnlineSpeakerDiarization
to run batched inference, as opposed tofrom_source()
that runs online inferencelength: Optional[int]
propertyNotes
latency=5
: DER = 27.3latency=5
: DER = 17.1