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

Sorry , I cannot reprocess the dataset,using thchs I cannot solve this problem. #315

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

Creiphyn
Copy link

@Creiphyn Creiphyn commented Dec 7, 2019

Traceback (most recent call last):
File "C:\Users\72970\Anaconda3\envs\tensorflow\lib\concurrent\futures\process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "C:\Users\72970\Desktop\1\datasets\thchs30.py", line 74, in _process_utterance
mel_spectrogram = audio.melspectrogram(wav).astype(np.float32)
File "C:\Users\72970\Desktop\1\util\audio.py", line 66, in melspectrogram
S = _amp_to_db(_linear_to_mel(np.abs(D))) - hparams.ref_level_db
File "C:\Users\72970\Desktop\1\util\audio.py", line 143, in _linear_to_mel
_mel_basis = _build_mel_basis()
File "C:\Users\72970\Desktop\1\util\audio.py", line 149, in _build_mel_basis
return librosa.filters.mel(hparams.sample_rate, n_fft, n_mels=hparams.num_mels, fmin=hparams.fmin, fmax=hparams.fmax)
File "C:\Users\72970\Anaconda3\envs\tensorflow\lib\site-packages\librosa\filters.py", line 247, in mel
lower = -ramps[i] / fdiff[i]
ValueError: operands could not be broadcast together with shapes (1,2049) (0,)

Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Use inv_spectrogram instead of inv_spectrogram_tensorflow

Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Less dataset and less steps to learn to align.

Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
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

Successfully merging this pull request may close these issues.

8 participants