Kyubyong / tacotron

A TensorFlow Implementation of Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model
Apache License 2.0
1.83k stars 436 forks source link

Having problem with batch number #88

Open GGLW123 opened 7 years ago

GGLW123 commented 7 years ago

PaddingFIFOQueue '_1_batch/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0)

 [[Node: batch = QueueDequeueManyV2[component_types=[DT_INT32, DT_FLOAT, DT_FLOAT], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](batch/padding_fifo_queue, batch/n)]]

Caused by op 'batch', defined at:

File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_launcher.py", line 78, in

vspd.debug(filename, port_num, debug_id, debug_options, run_as)

File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_debugger.py", line 2483, in debug

exec_file(file, globals_obj)

File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_util.py", line 111, in exec_file

exec_code(code, file, global_variables)

File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_util.py", line 87, in exec_code

exec(code_obj, global_variables)

File "C:\Users\User\Documents\Visual Studio 2015\Projects\Tachatron\Tachatron\Tachatron.py", line 129, in

main()

File "C:\Users\User\Documents\Visual Studio 2015\Projects\Tachatron\Tachatron\Tachatron.py", line 109, in main

g = Graph(); print("Training Graph loaded")

File "C:\Users\User\Documents\Visual Studio 2015\Projects\Tachatron\Tachatron\Tachatron.py", line 36, in init

self.x, self.y, self.z, self.num_batch = get_batch()

File "C:\Users\User\Documents\Visual Studio 2015\Projects\Tachatron\Tachatron\data_load.py", line 165, in get_batch

dynamic_pad=True)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\input.py", line 919, in batch

name=name)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\input.py", line 716, in _batch

dequeued = queue.dequeue_many(batch_size, name=name)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 457, in dequeue_many

self._queue_ref, n=n, component_types=self._dtypes, name=name)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 946, in _queue_dequeue_many_v2

timeout_ms=timeout_ms, name=name)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op

op_def=op_def)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2506, in create_op

original_op=self._default_original_op, op_def=op_def)

File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 1269, in init

self._traceback = _extract_stack()

OutOfRangeError (see above for traceback): PaddingFIFOQueue '_1_batch/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0)

 [[Node: batch = QueueDequeueManyV2[component_types=[DT_INT32, DT_FLOAT, DT_FLOAT], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](batch/padding_fifo_queue, batch/n)]]