Open catafest opened 8 months ago
2 ways to solve the problem 1.https://github.com/NVIDIA/tacotron2/issues/278 2.https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://www.tensorflow.org/tensorboard/hyperparameter_tuning_with_hparams&ved=2ahUKEwjk8fCwoqWFAxXoTWwGHdDYAcEQFnoECCAQAQ&usg=AOvVaw2Qpiv-C_6eSs4CkaJlDa7a I'm not sure the first method will work. Because I got the same error while practicing.
I fix somehow with ...
import tensorflow as tf
from tensorboard.plugins.hparams import api as hp
hparams = hp.hparams
hparams.mask_padding = False
hparams.sampling_rate = 22050
hparams.fp16_run=True
hparams.n_mel_channels=80
hparams.n_frames_per_step=1
hparams.n_symbols = 148
hparams.symbols_embedding_dim = 512
hparams.encoder_n_convolutions = 3
hparams.encoder_embedding_dim = 512
hparams.encoder_kernel_size = 5
hparams.attention_rnn_dim = 1024
hparams.decoder_rnn_dim=1024
hparams.prenet_dim=256
hparams.max_decoder_steps=1000
hparams.gate_threshold=0.5
hparams.p_attention_dropout=0.1
hparams.p_decoder_dropout=0.1
hparams.early_stopping=True
hparams.attention_dim = 128
hparams.attention_location_n_filters=32
hparams.attention_location_kernel_size=31
hparams.n_frames_per_step=1
hparams.decoder_rnn_dim=1024
hparams.prenet_dim=256
hparams.max_decoder_steps=1000
hparams.gate_threshold=0.5
hparams.p_attention_dropout=0.1
hparams.p_decoder_dropout=0.1
hparams.postnet_embedding_dim=512
hparams.postnet_kernel_size=5
hparams.postnet_n_convolutions=5
hparams.decoder_no_early_stopping=False
ฉันจะแก้ไขอย่างใดด้วย ...
import tensorflow as tf from tensorboard.plugins.hparams import api as hp hparams = hp.hparams hparams.mask_padding = False hparams.sampling_rate = 22050 hparams.fp16_run=True hparams.n_mel_channels=80 hparams.n_frames_per_step=1 hparams.n_symbols = 148 hparams.symbols_embedding_dim = 512 hparams.encoder_n_convolutions = 3 hparams.encoder_embedding_dim = 512 hparams.encoder_kernel_size = 5 hparams.attention_rnn_dim = 1024 hparams.decoder_rnn_dim=1024 hparams.prenet_dim=256 hparams.max_decoder_steps=1000 hparams.gate_threshold=0.5 hparams.p_attention_dropout=0.1 hparams.p_decoder_dropout=0.1 hparams.early_stopping=True hparams.attention_dim = 128 hparams.attention_location_n_filters=32 hparams.attention_location_kernel_size=31 hparams.n_frames_per_step=1 hparams.decoder_rnn_dim=1024 hparams.prenet_dim=256 hparams.max_decoder_steps=1000 hparams.gate_threshold=0.5 hparams.p_attention_dropout=0.1 hparams.p_decoder_dropout=0.1 hparams.postnet_embedding_dim=512 hparams.postnet_kernel_size=5 hparams.postnet_n_convolutions=5 hparams.decoder_no_early_stopping=False
Where did you put the Data Parameters?
I try to run this colab https://github.com/catafest/colab_google/blob/master/catafest_0059.ipynb , but I got this error:
I try to fix with this , but I got same error: