Home > other >  Based on the OutOfRangeError tensorflow openpose training
Based on the OutOfRangeError tensorflow openpose training

Time:11-16

The problems in the process of openpose training, considering the problem that thread or data set may be, but a lot of data is no problem, I hope can get help ~ thank you!

Operation information is as follows:

 
The 2020-09-11 16:12:54, 344 ERROR err type2, err=always feed value of shape (16, 184, 216, 19) for Tensor 'heatmap: 0', which has shape '(16, 46, 54, 19)', placeholders=[& lt; tf. The Tensor 'image: 0
'shape=(16, 368, 432, 3) dtype=float32 & gt; , [16:12:54 2020-09-11, 362] [pose_dataset] [ERROR] the Exception in the Thread 1: always feed value of shape (16, 184, 216, 19) for Tensor 'heatmap: 0', which has shape '(19) 16, 46, 54,'
Traceback (the most recent call last) :
File "C: \ Users \ \ Administrator \ Desktop \ pose estimation \ tf - pose estimation \ tf_pose \ pose_dataset py", line 507, in the run
The self. The op. Run (feed_dict=feed)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ framework \ ops py", line 1744, in the run
Feed_dict _run_using_default_session (self, self. The graph, the session)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ framework \ ops py", line 4120, in _run_using_default_session
The session. The run (operation, feed_dict)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 895, in the run
Run_metadata_ptr)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1100, in _run
% (np_val shape, subfeed_t. Name, STR (subfeed_t. Get_shape ())))
ValueError: always feed value of shape (16, 184, 216, 19) for Tensor 'heatmap: 0', which has shape '(19) 16, 46, 54,'
The 2020-09-11 16:12:54, 362 ERROR Exception in the Thread 1: always feed value of shape (16, 184, 216, 19) for Tensor 'heatmap: 0', which has shape '(19) 16, 46, 54,'
Traceback (the most recent call last) :
File "C: \ Users \ \ Administrator \ Desktop \ pose estimation \ tf - pose estimation \ tf_pose \ pose_dataset py", line 507, in the run
The self. The op. Run (feed_dict=feed)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ framework \ ops py", line 1744, in the run
Feed_dict _run_using_default_session (self, self. The graph, the session)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ framework \ ops py", line 4120, in _run_using_default_session
The session. The run (operation, feed_dict)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 895, in the run
Run_metadata_ptr)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1100, in _run
% (np_val shape, subfeed_t. Name, STR (subfeed_t. Get_shape ())))
ValueError: always feed value of shape (16, 184, 216, 19) for Tensor 'heatmap: 0', which has shape '(19) 16, 46, 54,'
[16:12:54 2020-09-11, 469] [pose_dataset] [INFO] Thread - 1 Exited.
The 2020-09-11 16:12:54, 469 INFO Thread - 1 Exited.
Traceback (the most recent call last) :
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1327, in _do_call
Return fn (* args)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1306, in _run_fn
The status, run_metadata)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ contextlib py", line 88, in __exit__
Next (self. Gen)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ framework \ errors_impl py", line 466, in raise_exception_on_not_ok_status
Pywrap_tensorflow. TF_GetCode (status))
Tensorflow. Python. Framework. Errors_impl. OutOfRangeError: FIFOQueue '_0_fifo_queue is closed and has insufficient elements (requested 1, the current size 0)
[[Node: fifo_queue_Dequeue=QueueDequeueV2 [component_types=[DT_FLOAT, DT_FLOAT DT_FLOAT], timeout_ms=1, _device="/task/job: localhost/up: 0:0/CPU: 0"] (fifo_queue)]]

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "" train". Py ", line 314, in & lt; module>
_, gs_num=sess. Run ([train_op global_step])
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 895, in the run
Run_metadata_ptr)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1124, in _run
Feed_dict_tensor, options, run_metadata)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1321, in _do_run
The options, run_metadata)
The File "D: \ Anaconda3 \ envs \ tfpose \ lib \ site - packages \ tensorflow \ python \ client \ session py", line 1340, in _do_call
Raise the type (e) (node_def, op, message)
Tensorflow. Python. Framework. Errors_impl. OutOfRangeError: FIFOQueue '_0_fifo_queue is closed and has insufficient elements (requested 1, the current size 0)
[[Node: fifo_queue_Dequeue=QueueDequeueV2 [component_types=[DT_FLOAT, DT_FLOAT DT_FLOAT], timeout_ms=1, _device="/task/job: localhost/up: 0:0/CPU: 0"] (fifo_queue)]]

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related