Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

找不到模型tts_data #1

Open
fxwderrick opened this issue Aug 22, 2019 · 9 comments
Open

找不到模型tts_data #1

fxwderrick opened this issue Aug 22, 2019 · 9 comments

Comments

@fxwderrick
Copy link

你好,

请问可以提供一下在Readme中提到的训练好的参数tts_data吗

谢谢

@crystal0913
Copy link
Owner

@shakingWaves
Copy link

再利用Vocoder:音频特征生成wav,python ~/merlin/src/gen_test.py test_synth.conf

你好, gen_test.py 这个脚本找不到。这是你自己写的吗?
@crystal0913

@fxwderrick
Copy link
Author

感谢提供!

@fxwderrick
Copy link
Author

@crystal0913 Hi,有个小问题,你的代码在predict的时候每一个隐藏层都用到了batch_normalization,但是我看merlin TTS在做inference的时候,dnn_generation里面应该是没有做batch_norm的。请问你是在训练的时候加了这个步骤,然后保存了每一层的mean和var吗

@crystal0913
Copy link
Owner

crystal0913 commented Oct 25, 2019

@crystal0913 Hi,有个小问题,你的代码在predict的时候每一个隐藏层都用到了batch_normalization,但是我看merlin TTS在做inference的时候,dnn_generation里面应该是没有做batch_norm的。请问你是在训练的时候加了这个步骤,然后保存了每一层的mean和var吗

看了一下merlin的模型定义, 是有做batch_norm的。

"请问你是在训练的时候加了这个步骤,然后保存了每一层的mean和var吗" , 是的。

@crystal0913
Copy link
Owner

crystal0913 commented Oct 25, 2019

@shakingWaves 这个就是调用merlin提供的generate_wav,
gen_test.py内容如下:

import sys
import os
import configuration
from utils.generate import generate_wav
import logging
import logging.config
from logplot.logging_plotting import LoggerPlotter,

cfg=configuration.cfg
logging.setLoggerClass(LoggerPlotter)
logger = logging.getLogger("main")
config_file = sys.argv[1]
config_file = os.path.abspath(config_file)
cfg.configure(config_file)
generate_wav('../c_plus/test', ['1'], cfg)

@fxwderrick
Copy link
Author

@crystal0913 哦哦你说的没错,不过我用的是theano版本的implement,不是tensorflow框架的,所以我用的是这个模型定义,其中的隐藏层是用的GeneralLayer,没有做Batch_norm,只有.dot(W, X) + b在加一个TANH。估计是Theano这些功能没有TF集成的好。

@fxwderrick fxwderrick reopened this Nov 6, 2019
@YinQiang0312
Copy link

再利用Vocoder:音频特征生成wav,python ~/merlin/src/gen_test.py test_synth.conf

你好, gen_test.py 这个脚本找不到。这是你自己写的吗?
@crystal0913
你好,请问你是直接运行inference.cpp吗?我在windows和linux下运行时都会报错“在函数中未定义的引用”

@YinQiang0312
Copy link

你好,

请问可以提供一下在Readme中提到的训练好的参数tts_data吗

谢谢

你好,请问你是直接运行inference.cpp吗?有做什么修改吗?我在windows和linux下运行时都会报错“在函数中未定义的引用” -_-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants