Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
dhruva-iitm-tts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ssmt
dhruva-iitm-tts
Commits
7d911f76
Commit
7d911f76
authored
Oct 30, 2023
by
Nikhilesh Bhatnagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to add female voices
parent
52a974e2
Pipeline
#29
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
triton_models/tts/1/model.py
triton_models/tts/1/model.py
+3
-3
No files found.
triton_models/tts/1/model.py
View file @
7d911f76
...
@@ -59,18 +59,18 @@ class TritonPythonModel:
...
@@ -59,18 +59,18 @@ class TritonPythonModel:
else
:
else
:
self
.
preprocessors
[
lang
]
=
self
.
tts_dur_align_preprocessor
self
.
preprocessors
[
lang
]
=
self
.
tts_dur_align_preprocessor
self
.
models
=
{}
self
.
models
=
{}
for
(
language
,
_
),
gender
in
product
(
LANGMAP
.
values
(),
(
"male"
,)):
for
(
language
,
_
),
gender
in
product
(
LANGMAP
.
values
(),
(
"male"
,
"female"
)):
try
:
try
:
self
.
models
[(
language
,
gender
)]
=
self
.
load_fastspeech2_model
(
self
.
models
[(
language
,
gender
)]
=
self
.
load_fastspeech2_model
(
language
,
language
,
gender
,
gender
,
f
"cuda"
,
"cuda"
,
)
)
except
:
except
:
pass
pass
self
.
vocoders
=
{
self
.
vocoders
=
{
(
gender
,
family
):
self
.
load_vocoder
(
gender
,
family
,
"cuda"
)
(
gender
,
family
):
self
.
load_vocoder
(
gender
,
family
,
"cuda"
)
for
gender
,
family
in
product
((
"male"
,),
(
"aryan"
,
"dravidian"
))
for
gender
,
family
in
product
((
"male"
,
"female"
),
(
"aryan"
,
"dravidian"
))
}
}
def
load_vocoder
(
self
,
gender
,
family
,
device
):
def
load_vocoder
(
self
,
gender
,
family
,
device
):
...
...
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