<p dir="auto">Operating System: Mac Os X 10.9.5</p>
<p dir="auto">Current tensorflow version 0.7.1</p>
<p dir="auto">I am trying to get the Cifar-10 tutorial running on my own data set (so using other images, but the same code). Training works fine. However, the evaluation seems to have a problem. Whenever I run the evaluation, I get the following message:</p>
<p dir="auto">W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe504a20 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe403eb0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe206b10 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fbe16130 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6f8e6bd80 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fbcca1e0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fbbb5e30 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6f8daee90 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe304d50 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fbcb9570 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6f8e01660 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fba2a1a0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6f8e357a0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe207e90 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fe2089b0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6fa6bfe20 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomp                                                                                                                     onents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/ta                                                                                                                     sk:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div, Cast)]]<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc6f8e689f0 Compute status                                                                                                                     : Cancelled: Enqueue operation was cancelled<br>
[[Node: input_producer/input_producer_EnqueueMany = QueueEnqueueMany[Tc                                                                                                                     omponents=[DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/c                                                                                                                     pu:0"](input_producer, input_producer/RandomShuffle)]]<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt</p>
<p dir="auto">Right before this message, if I let the code run long enough, I get the output for a precision (precision @ 1 = xxx). However, the message still irritates me, I looks like an error message...</p>
<p dir="auto">I've googled this error, and so far I've only found some posts talking about that one should first initialize placeholders before starting the queuerunners. However, since there are no placeholders used anywhere in the code before, and I am very new to tensorflow/machine learning in general, I have no idea where one would put these placeholders, or what they would be.</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System: Ubuntu 14.04.4 LTS</p>
<p dir="auto">If installed from binary pip package, provide:</p>
<ol dir="auto">
<li>Which pip package you installed.<br>
: tensorflow-0.7.1-cp27-none-linux_x86_64.whl</li>
<li>The output from python -c "import tensorflow; print(tensorflow.<strong>version</strong>)".<br>
: 0.7.1</li>
</ol>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>cd git/tensorflow/tensorflow/models/image/cifar10/</li>
<li>python cifar10_eval.py</li>
</ol>
<p dir="auto">I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally<br>
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally<br>
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally<br>
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally<br>
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally<br>
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:900] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero<br>
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:<br>
name: GeForce GTX 980 Ti<br>
major: 5 minor: 2 memoryClockRate (GHz) 1.3545<br>
pciBusID 0000:01:00.0<br>
Total memory: 6.00GiB<br>
Free memory: 5.56GiB<br>
I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0<br>
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y<br>
I tensorflow/core/common_runtime/gpu/gpu_device.cc:717] Creating TensorFlow device (/gpu:0) -&gt; (device: 0, name: GeForce GTX 980 Ti, pci bus id: 0000:01:00.0)<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.0KiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 16.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 32.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 64.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 128.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 256.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 512.00MiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 1.00GiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 2.00GiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 4.00GiB<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:51] Creating bin of max chunk size 8.00GiB</p>
<p dir="auto">and stop this line.</p>
<p dir="auto">but sometimes not stop this line when run same as above. and</p>
<p dir="auto">==========check3.25==========<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:73] Allocating 5.27GiB bytes.<br>
I tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:83] GPU 0 memory begins at 0x706400000 extends to 0x857ab6000<br>
==========check3.5==========<br>
==========check3.75==========<br>
==========check3.25==========</p>
<p dir="auto">.<br>
.<br>
.</p>
<p dir="auto">==========check3.25==========<br>
==========check3.5==========<br>
==========check3.75==========<br>
2016-03-01 15:41:09.935657: precision @ 1 = 0.801<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb37405e7b0 Compute status: Cancelled: Enqueue operation was cancelled<br>
[[Node: input_producer/input_producer_EnqueueMany = QueueEnqueueMany[Tcomponents=[DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](input_producer, input_producer/RandomShuffle)]]<br>
I tensorflow/core/kernels/queue_base.cc:286] Skipping cancelled enqueue attempt<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb350035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb36403ada0 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb3223f5240 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb35c03ada0 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb338035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb36c00c600 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb354035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb340035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb34c035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb3480095e0 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb33000c470 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb370011050 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb328010190 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb3600095e0 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb358035000 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]<br>
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fb33c05b3b0 Compute status: Aborted: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed.<br>
[[Node: shuffle_batch/random_shuffle_queue_enqueue = QueueEnqueue[Tcomponents=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, Div/_206, Cast/_208)]]</p>
<h3 dir="auto">What have you tried?</h3>
<ol dir="auto">
<li>Add some instruction for checking stop point.</li>
</ol>
<p dir="auto">cifar10_eval.py</p>
<p dir="auto">def eval_once(saver, summary_writer, top_k_op, summary_op):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Start the queue runners.
coord = tf.train.Coordinator()
try:
  threads = []
  for qr in tf.get_collection(tf.GraphKeys.QUEUE_RUNNERS):
    threads.extend(qr.create_threads(sess, coord=coord, daemon=True,
                                     start=True))
  num_iter = int(math.ceil(FLAGS.num_examples / FLAGS.batch_size))
  true_count = 0  # Counts the number of correct predictions.
  total_sample_count = num_iter * FLAGS.batch_size
  step = 0
  while step &lt; num_iter and not coord.should_stop():
    print(&quot;==========check3.25==========&quot;)
    predictions = sess.run([top_k_op])
    print(&quot;==========check3.5==========&quot;)
    true_count += np.sum(predictions)
    step += 1
    print(&quot;==========check3.75==========&quot;)

  # Compute precision @ 1.
  precision = true_count / total_sample_count
  print('%s: precision @ 1 = %.3f' % (datetime.now(), precision))

  summary = tf.Summary()
  summary.ParseFromString(sess.run(summary_op))
  summary.value.add(tag='Precision @ 1', simple_value=precision)
  summary_writer.add_summary(summary, global_step)
except Exception as e:  # pylint: disable=broad-except
  coord.request_stop(e)

coord.request_stop()
coord.join(threads, stop_grace_period_secs=10)"><pre class="notranslate"><code class="notranslate"># Start the queue runners.
coord = tf.train.Coordinator()
try:
  threads = []
  for qr in tf.get_collection(tf.GraphKeys.QUEUE_RUNNERS):
    threads.extend(qr.create_threads(sess, coord=coord, daemon=True,
                                     start=True))
  num_iter = int(math.ceil(FLAGS.num_examples / FLAGS.batch_size))
  true_count = 0  # Counts the number of correct predictions.
  total_sample_count = num_iter * FLAGS.batch_size
  step = 0
  while step &lt; num_iter and not coord.should_stop():
    print("==========check3.25==========")
    predictions = sess.run([top_k_op])
    print("==========check3.5==========")
    true_count += np.sum(predictions)
    step += 1
    print("==========check3.75==========")

  # Compute precision @ 1.
  precision = true_count / total_sample_count
  print('%s: precision @ 1 = %.3f' % (datetime.now(), precision))

  summary = tf.Summary()
  summary.ParseFromString(sess.run(summary_op))
  summary.value.add(tag='Precision @ 1', simple_value=precision)
  summary_writer.add_summary(summary, global_step)
except Exception as e:  # pylint: disable=broad-except
  coord.request_stop(e)

coord.request_stop()
coord.join(threads, stop_grace_period_secs=10)
</code></pre></div>
<p dir="auto">look like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119755298" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/389" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/389/hovercard" href="https://github.com/tensorflow/tensorflow/issues/389">#389</a> issue but different. and many time stop</p>
<p dir="auto">predictions = sess.run([top_k_op])</p>
<p dir="auto">this line.</p>