Skip to content

Commit

Permalink
main 使用最新模型测试babysor#37 3
Browse files Browse the repository at this point in the history
  • Loading branch information
xier-dog committed Jun 6, 2022
1 parent e8d57fc commit 8186b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions synthesizer/hparams.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ def dumpJson(self, fp):
speaker_embedding_size = 256, # Dimension for the speaker embedding
silence_min_duration_split = 0.4, # Duration in seconds of a silence for an utterance to be split
utterance_min_duration = 1.6, # Duration in seconds below which utterances are discarded
use_gst = False, # Whether to use global style token
use_ser_for_gst = False, # Whether to use speaker embedding referenced for global style token
use_gst = True, # Whether to use global style token
use_ser_for_gst = True, # Whether to use speaker embedding referenced for global style token
)
4 changes: 2 additions & 2 deletions synthesizer/utils/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

_pad = "_"
_eos = "~"
#_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!\'(),-.:;? '
_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!\'(),-.:;? '

_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz12340!\'(),-.:;? ' # use this old one if you want to train old model
#_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz12340!\'(),-.:;? ' # use this old one if you want to train old model
# Prepend "@" to ARPAbet symbols to ensure uniqueness (some are the same as uppercase letters):
#_arpabet = ["@' + s for s in cmudict.valid_symbols]

Expand Down

0 comments on commit 8186b0d

Please sign in to comment.