tensorflow how to create queue in nested way -


in fact, want build 2 queue in nested way below training , validing, report:

cancellederror (see above traceback): fifoqueue '_3_valid_queue/input_producer' closed. [[node: valid_queue/input_producer/input_producer_enqueuemany = queueenqueuemanyv2[tcomponents=[dt_string], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](valid_queue/input_producer, valid_queue/input_producer/limit_epochs)]]

how can use correctly?

try:     itr += 1     while not coord1.should_stop():        xxxx        if itr == 2:          try:            while not coord2.should_stop():              yyy          except tf.errors.outofrangeerror:              yyy          finally:             coord2.request_stop()             coord2.join(threads2)  except tf.errors.outofrangeerror:      xxxx  finally:      coord1.request_stop()      coord1.join(threads1) 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -