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
82c31b4c
Commit
82c31b4c
authored
3 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
update instructions
parent
2275853a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dnn/README.md
+5
-4
5 additions, 4 deletions
dnn/README.md
with
5 additions
and
4 deletions
dnn/README.md
+
5
−
4
View file @
82c31b4c
...
...
@@ -26,7 +26,8 @@ make
Note that the autogen.sh script is used when building from Git and will automatically download the latest model
(models are too large to put in Git). By default, LPCNet will attempt to use 8-bit dot product instructions on AVX
*
/Neon to
speed up inference. To disable that (e.g. to avoid quantization effects when retraining), add --disable-dot-product to the
configure script.
configure script. LPCNet does not yet have a complete implementation for some of the integer operations on the ARMv7
architecture so for now you will also need --disable-dot-product to successfully compile on 32-bit ARM.
It is highly recommended to set the CFLAGS environment variable to enable AVX or NEON
*prior*
to running configure, otherwise
no vectorization will take place and the code will be very slow. On a recent x86 CPU, something like
...
...
@@ -70,10 +71,10 @@ This codebase is also meant for research and it is possible to train new models.
1.
Now that you have your files, train with:
```
./training_tf2/train_lpcnet.py features.f32 data.u8
./training_tf2/train_lpcnet.py features.f32 data.u8
model_name
```
and it will generate an
lpcnet
*
.
h5 file for each iteration. If it stops with a
"Failed to allocate RNN reserve space" message try
reducing the
*
batch
\_
size
*
variable in
train_lpcnet.py.
and it will generate an h5 file for each iteration
, with model
\_
name as prefix
. If it stops with a
"Failed to allocate RNN reserve space" message try
specifying a smaller --
batch
-
size
for
train
\
_
lpcnet.py.
1.
You can synthesise speech with Python and your GPU card (very slow):
```
...
...
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