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

도와주새요 items관련입니다 #75

Open
paman2 opened this issue Apr 20, 2020 · 0 comments
Open

도와주새요 items관련입니다 #75

paman2 opened this issue Apr 20, 2020 · 0 comments

Comments

@paman2
Copy link

paman2 commented Apr 20, 2020

[(0, (array([52, 42, 48, 41, 34, 64, 32, 41, 34, 39, 28, 41, 31, 58, 64, 50, 35,
36, 30, 35, 64, 42, 51, 33, 42, 45, 31, 64, 35, 28, 31, 64, 32, 49,
42, 39, 49, 32, 31, 64, 42, 48, 47, 64, 42, 33, 64, 35, 36, 46, 64,
42, 50, 41, 64, 36, 41, 33, 39, 28, 47, 32, 31, 64, 46, 32, 39, 33,
59, 30, 42, 41, 30, 32, 36, 47, 58, 64, 28, 41, 31, 64, 50, 35, 36,
30, 35, 64, 35, 28, 31, 64, 41, 32, 49, 32, 45, 64, 28, 41, 52, 64,
45, 32, 28, 39, 64, 30, 42, 45, 43, 42, 45, 32, 28, 39, 64, 32, 51,
36, 46, 47, 32, 41, 30, 32, 60, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], dtype=int32), array([[-0.04250585, 0.04339837, 0.0634847 , ..., -0.01134557,
-0.05266139, 0.05498361],
[-0.0265766 , 0.05939548, 0.02811944, ..., -0.07705 ,
-0.03860891, 0.02268679],
[ 0.03481059, 0.09713992, 0.04802307, ..., -0.05541128,
-0.06248487, -0.09072807],
...,
[-0.04914139, 0.05372683, 0.0336892 , ..., 0.09647741,
-0.04807437, 0.01796775],
[-0.10215212, 0.04370767, -0.0201838 , ..., 0.10244846,
-0.09910552, -0.01139377],
[-0.17029065, 0.06525695, -0.00424395, ..., 0.0263963 ,
-0.03970433, -0.06762866]], dtype=float32), array([[5.9505367e-01, 3.4856409e-01, 2.0077401e-01, ..., 0.0000000e+00,
0.0000000e+00, 0.0000000e+00],
[2.4355990e-01, 2.9028663e-01, 2.5531092e-01, ..., 5.4733812e-37,
3.1771454e-37, 1.8515910e-37],
[9.3717247e-02, 1.6780749e-01, 1.9708624e-01, ..., 5.5558050e-36,
3.2325137e-36, 1.8881087e-36],
...,
[0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ..., 0.0000000e+00,
0.0000000e+00, 0.0000000e+00],
[0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ..., 0.0000000e+00,
0.0000000e+00, 0.0000000e+00],
[0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ..., 0.0000000e+00,
0.0000000e+00, 0.0000000e+00]], dtype=float32)))]

위 대이터는 items입니다
for item in tqdm(items, total=len(items), desc=desc):
out = fn(item)

이 구문애서 fn애서 애러가 납니다
이유를 몰라 여쭈어 봅니다

###############################################################
Exiting due to exception: data must be floating-point
Traceback (most recent call last):
File "train.py", line 289, in train
log_dir, step, loss, "train")
File "train.py", line 116, in save_and_plot
parallel_run(fn, items, parallel=False)
File "/mnt/donghyeon012.kim/Documents/TTS/02_taco/utils/init.py", line 155, in parallel_run
print(fn(items[0]))
File "train.py", line 89, in save_and_plot_fn
save_audio(waveform, audio_path)
File "/mnt/donghyeon012.kim/Documents/TTS/02_taco/audio/init.py", line 25, in save_audio
hparams.sample_rate if sample_rate is None else sample_rate)
File "/mnt/donghyeon012.kim/.local/lib/python3.6/site-packages/librosa/output.py", line 223, in write_wav
util.valid_audio(y, mono=False)
File "/mnt/donghyeon012.kim/.local/lib/python3.6/site-packages/librosa/util/utils.py", line 159, in valid_audio
raise ParameterError('data must be floating-point')
librosa.util.exceptions.ParameterError: data must be floating-point
2020-04-20 15:39:05.080666: W tensorflow/core/kernels/queue_base.cc:295] _0_datafeeder/input_queue_1: Skipping cancelled enqueue attempt with queue not closed
2020-04-20 15:39:05.080755: W tensorflow/core/kernels/queue_base.cc:295] _1_datafeeder/in

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

1 participant