Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Tacotron2_pytorch
Commits
4130a52d
Commit
4130a52d
authored
Aug 27, 2024
by
changhl
Browse files
init model
parent
eb6a18fd
Pipeline
#1617
failed with stages
in 0 seconds
Changes
42
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
train_m.sh
train_m.sh
+13
-0
train_s.sh
train_s.sh
+13
-0
No files found.
train_m.sh
0 → 100644
View file @
4130a52d
#!/bin/bash
# 检查是否至少有一个参数被传入
if
[
$#
-lt
2
]
;
then
echo
"Usage:
$0
dataset_path modelsave_path"
exit
1
fi
model_folder
=
$1
save_folder
=
$2
cd
speechbrain/recipes/LJSpeech/TTS/tacotron2/
python train.py
--data_parallel_backend
--max_grad_norm
=
1.0
--data_folder
=
$model_folder
--save_folder
=
$save_folder
hparams/train.yaml
\ No newline at end of file
train_s.sh
0 → 100644
View file @
4130a52d
#!/bin/bash
# 检查是否至少有一个参数被传入
if
[
$#
-lt
2
]
;
then
echo
"Usage:
$0
dataset_path modelsave_path"
exit
1
fi
model_folder
=
$1
save_folder
=
$2
cd
speechbrain/recipes/LJSpeech/TTS/tacotron2/
python train.py
--device
=
cuda
--max_grad_norm
=
1.0
--data_folder
=
$model_folder
--save_folder
=
$save_folder
hparams/train.yaml
\ No newline at end of file
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment