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
93a7d677
Verified
Commit
93a7d677
authored
1 year ago
by
Lucas Ondel Yang
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
parent
d07b03db
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
Project.toml
+1
-1
1 addition, 1 deletion
Project.toml
src/dataset.jl
+3
-3
3 additions, 3 deletions
src/dataset.jl
src/manifest_item.jl
+1
-1
1 addition, 1 deletion
src/manifest_item.jl
with
10 additions
and
5 deletions
CHANGELOG.md
+
5
−
0
View file @
93a7d677
# Tags
## [0.9.2](https://https://gitlab.lisn.upsaclay.fr/fast/speechcorpora.jl/-/tags/v0.9.2)- 09/02/2024
# Fixed
-
invalid type for field
`channels`
of
`Recording`
-
`MINILIBRISPEECH`
broken
## [0.9.1](https://https://gitlab.lisn.upsaclay.fr/fast/speechcorpora.jl/-/tags/v0.9.1)- 09/02/2024
# Fixed
-
not possible to use
`:`
as channel specifier
...
...
This diff is collapsed.
Click to expand it.
Project.toml
+
1
−
1
View file @
93a7d677
name
=
"SpeechDatasets"
uuid
=
"ae813453-fab8-46d9-ab8f-a64c05464021"
authors
=
[
"Lucas ONDEL YANG <lucas.ondel@cnrs.fr>"
]
version
=
"0.9.
1
"
version
=
"0.9.
2
"
[deps]
JSON
=
"682c06a0-de6a-54ab-a142-c8b1cf79cde6"
...
...
This diff is collapsed.
Click to expand it.
src/dataset.jl
+
3
−
3
View file @
93a7d677
...
...
@@ -32,12 +32,12 @@ julia> ds[1]
)
```
"""
function
dataset
(
manifestroot
::
AbstractString
,
partition
)
sup_path
=
joinpath
(
manifestroot
,
"supervisions-
$(
subset
)
.jsonl"
)
function
dataset
(
manifestroot
,
partition
)
sup_path
=
joinpath
(
manifestroot
,
"supervisions-
$(
partition
)
.jsonl"
)
rec_path
=
joinpath
(
manifestroot
,
"recordings.jsonl"
)
supervisions
=
load
(
Supervision
,
sup_path
)
recordings
=
load
(
Recording
,
rec_path
)
dataset
(
supervisions
,
recordings
)
dataset
(
supervisions
,
recordings
,
partition
)
end
function
dataset
(
supervisions
,
recordings
,
partition
)
...
...
This diff is collapsed.
Click to expand it.
src/manifest_item.jl
+
1
−
1
View file @
93a7d677
...
...
@@ -74,7 +74,7 @@ struct Supervision <: ManifestItem
recording_id
::
AbstractString
start
::
Float64
duration
::
Float64
channels
::
Union
{
Vector
{
Integer
}
,
Colon
}
channels
::
Union
{
Vector
,
Colon
}
data
::
Dict
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