Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opus
Commits
2192e85b
Unverified
Commit
2192e85b
authored
1 year ago
by
Jan Buethe
Browse files
Options
Downloads
Patches
Plain Diff
restructured osce readme
parent
055c6830
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4147
failed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dnn/torch/osce/README.md
+9
-9
9 additions, 9 deletions
dnn/torch/osce/README.md
with
9 additions
and
9 deletions
dnn/torch/osce/README.md
+
9
−
9
View file @
2192e85b
...
...
@@ -26,14 +26,6 @@ Second step is to run a patched version of opus_demo in the dataset folder, whic
The argument to -silk_random_switching specifies the number of frames after which parameters are switched randomly.
## Generating inference data
Generating inference data is analogous to generating training data. Given an item 'item1.wav' run
`mkdir item1.se && sox item1.wav -r 16000 -e signed-integer -b 16 item1.raw && cd item1.se && <path_to_patched_opus_demo>/opus_demo voip 16000 1 <bitrate> ../item1.raw noisy.s16`
The folder item1.se then serves as input for the test_model.py script or for the --testdata argument of train_model.py resp. adv_train_model.py
Checkpoints of pre-trained models are located here https://media.xiph.org/lpcnet/models/lace-20231019.tar.gz.
## Regression loss based training
Create a default setup for LACE or NoLACE via
...
...
@@ -62,4 +54,12 @@ for running the training script in foreground or
`nohup python adv_train_model.py nolace_adv.yml <output folder> &`
to run it in background. In the latter case the output is written to
`<output folder>/out.txt`
.
\ No newline at end of file
to run it in background. In the latter case the output is written to
`<output folder>/out.txt`
.
## Inference
Generating inference data is analogous to generating training data. Given an item 'item1.wav' run
`mkdir item1.se && sox item1.wav -r 16000 -e signed-integer -b 16 item1.raw && cd item1.se && <path_to_patched_opus_demo>/opus_demo voip 16000 1 <bitrate> ../item1.raw noisy.s16`
The folder item1.se then serves as input for the test_model.py script or for the --testdata argument of train_model.py resp. adv_train_model.py
Checkpoints of pre-trained models are located here: https://media.xiph.org/lpcnet/models/lace-20231019.tar.gz
\ No newline at end of file
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