Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SpeechDatasets.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PTAL
Datasets
SpeechDatasets.jl
Commits
37e9c322
Commit
37e9c322
authored
5 months ago
by
Lucas Ondel Yang
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_load_pair' into 'main'
fix load See merge request
!5
parents
730c952e
40d3314a
No related branches found
No related tags found
1 merge request
!5
fix load
Pipeline
#3128
passed
5 months ago
Stage: deploy
Stage: build-badges
Stage: deploy-badges
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+5
-1
5 additions, 1 deletion
CHANGELOG.md
Project.toml
+1
-1
1 addition, 1 deletion
Project.toml
src/manifest_item.jl
+2
-2
2 additions, 2 deletions
src/manifest_item.jl
with
8 additions
and
4 deletions
CHANGELOG.md
+
5
−
1
View file @
37e9c322
# Tags
## [0.17.1](https://https://gitlab.lisn.upsaclay.fr/fast/speechdatasets.jl/-/tags/v0.17.1) - 25/09/2024
### Fixed
-
Loading tuple of recording / annotation
## [0.17.0](https://https://gitlab.lisn.upsaclay.fr/fast/speechdatasets.jl/-/tags/v0.17.0) - 26/08/2024
### Changed
-
Datasets are now loadable with
`dataset("name", inputdir, outputdir; <keyword arguments>)`
-
New corpus can be added by simply creating a single file and implementing at least one function.
-
New corpus can be added by simply creating a single file and implementing at least one function.
### Added
-
Supported corpora are referenced in
`corpora.json`
-
Added documentation, will update on new corpus.
...
...
This diff is collapsed.
Click to expand it.
Project.toml
+
1
−
1
View file @
37e9c322
name
=
"SpeechDatasets"
uuid
=
"ae813453-fab8-46d9-ab8f-a64c05464021"
authors
=
[
"Lucas ONDEL YANG <lucas.ondel@cnrs.fr>"
,
"Simon DEVAUCHELLE <simon.devauchelle@universite-paris-saclay.fr>"
,
"Nicolas DENIER <nicolas.denier@lisn.fr>"
]
version
=
"0.17.
0
"
version
=
"0.17.
1
"
[deps]
SpeechFeatures
=
"6f3487c4-5ca2-4050-bfeb-2cf56df92307"
...
...
This diff is collapsed.
Click to expand it.
src/manifest_item.jl
+
2
−
2
View file @
37e9c322
...
...
@@ -88,7 +88,7 @@ Annotation(id, recid; channels = missing, start = -1, duration = -1, data = miss
Load the signal from a recording. `start`, `duration` (in seconds)
The function returns a tuple `(x, sr)` where `x` is a ``N×C`` array
The function returns a tuple `(x, sr)` where `x` is a ``N×C`` array
- ``N`` is the length of the signal and ``C`` is the number of channels
- and `sr` is the sampling rate of the signal.
"""
...
...
@@ -101,7 +101,7 @@ function AudioSources.load(r::Recording; start = -1, duration = -1, channels = r
subrange
=
(
:
)
end
AudioSources
.
load
(
r
.
source
,
true
,
subrange
=
subrange
,
ch
=
channels
)
AudioSources
.
load
(
r
.
source
,
subrange
,
channels
)
end
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment