2019-09-10 13:57:26.976923: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:26.981108: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:26.985058: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:26.989297: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:26.993352: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:26.997461: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:27.001725: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:27.005897: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
2019-09-10 13:57:27.009835: W tensorflow/core/kernels/queue_base.cc:285] _2_fifo_queue: Skipping cancelled dequeue attempt with queue not closed
Traceback (most recent call last):
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1356, in _do_call
return fn(*args)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.OutOfRangeError: PaddingFIFOQueue '_1_batch/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0)
[[{{node batch}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train1.py", line 107, in
train(logdir=logdir)
File "train1.py", line 65, in train
sess.run(train_op)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1350, in _do_run
run_metadata)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\client\session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: PaddingFIFOQueue '_1_batch/padding_fifo_queue' is closed and has insufficient elements (requested 32, current size 0)
[[node batch (defined at D:\na\Neural_Network_Voices-master\data_load.py:235) ]]
Original stack trace for 'batch':
File "train1.py", line 107, in
train(logdir=logdir)
File "train1.py", line 18, in train
model = Model(mode="train1", batch_size=hp.Train1.batch_size, queue=queue)
File "D:\na\Neural_Network_Voices-master\models.py", line 24, in init
self.x_mfcc, self.y_ppgs, self.y_spec, self.y_mel, self.num_batch = self.get_input(mode, batch_size, queue)
File "D:\na\Neural_Network_Voices-master\models.py", line 54, in get_input
x_mfcc, y_ppgs, num_batch = get_batch_queue(mode=mode, batch_size=batch_size)
File "D:\na\Neural_Network_Voices-master\data_load.py", line 235, in get_batch_queue
dynamic_pad=True)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\util\deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\training\input.py", line 1021, in batch
name=name)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\training\input.py", line 790, in _batch
dequeued = queue.dequeue_many(batch_size, name=name)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 488, in dequeue_many
self._queue_ref, n=n, component_types=self._dtypes, name=name)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 4182, in queue_dequeue_many_v2
timeout_ms=timeout_ms, name=name)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 3616, in create_op
op_def=op_def)
File "D:\na\Neural_Network_Voices-master\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 2005, in init
self._traceback = tf_stack.extract_stack()
Hey there!
I am trying to get the code run on Python 3.7.
Managed to get rid of some errors, but I can't solve this one.
As soon I switch the queue option in train.py to True I run into this error:
If someone could help me with this issue, I'll be thankful!