Skip to content

Cifar-10 eval script verbose output #389

Closed

Description

@jaelim

I've ran cifa10_train.py successfully. Now, I'm trying to run cifar10_eval.py, but the code's following verbose repeatedly without stopping. Any idea what this means?

I tensorflow/core/common_runtime/local_device.cc:25] Local device intra op parallelism threads: 4
I tensorflow/core/common_runtime/local_session.cc:45] Local session inter op parallelism threads: 4
2015-12-01 08:17:18.602794: precision @ 1 = 0.855
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa024001740 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa03c001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa02c001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa0500018c0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa028001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa0480098d0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa020001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa030001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa038001730 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa0540098d0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa018001630 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa0400018e0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa0440098d0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa05c055a30 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa04c0098d0 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa060052d90 Compute status: Cancelled: Enqueue operation was cancelled
[[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, Cast)]]
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
I tensorflow/core/kernels/random_shuffle_queue_op.cc:282] Skipping cancelled enqueue attempt
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa064001480 Compute status: Cancelled: Enqueue operation was cancelled
[[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)]]

Activity

  1. shlens commented on Dec 4, 2015

    @shlens
    Contributor

    Is this error produced reliably if you run cifar10_eval.py? If so, would you describe exactly how you produced this error as I am not seeing this error when I run the script? Thanks!

  2. shlens commented on Dec 21, 2015

    @shlens
    Contributor

    I presume this error is not longer an issue so I will be marking this issue as closed but please feel free to reopen if this error persists.

  3. tptptptp commented on Jan 4, 2016

    @tptptptp

    I get this issue - cifa10_train.py runs fine, but the above text appears when evaluating it. I'm using a GTX960 with 2GB memory.

  4. jkschin commented on Jan 5, 2016

    @jkschin

    I get this error too. Anyone has a fix for it? I tried cifar10_eval.py on both CUDA enabled TensorFlow and non-CUDA enabled TensorFlow.

  5. liuyipei commented on Jan 8, 2016

    @liuyipei
    Contributor

    I also encounter this error during cifar10_eval.py. (I am using the pip installed gpu version). The installation was a little dated.

    Hopefully this is not TMI:

    After a reinstall via pip, I started getting the conv1 weights uninitialized error during training.
    #642

    Think that perhaps the pip version is out of date, I decided to try to recompile from source.
    Next, I did pip uninstall tensorflow to reinistall from source.
    On a fresh clone, bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer terminated successfully with lots of repeated "info" outputs regarding Eigen::AlignedBit being deprecated.

    Finally, I ran into the CUDA_ERROR_DEINITIALIZED segfault during bazel-bin/tensorflow/cc/tutorials_example_trainer --use_gpu
    #723

  6. jkschin commented on Jan 12, 2016

    @jkschin

    I get this error too. However I notice that this appears before everything else.

    2016-01-12 13:38:54.616463: precision @ 1 = 0.845

    Can we assume that eval_once() is successfully executed and use this result?

  7. habrman commented on Jan 21, 2016

    @habrman

    Has someone found a solution to this? I'm having the same problem...

  8. yaroslavvb commented on Jan 23, 2016

    @yaroslavvb
    Contributor

    I don't see this in behavior in the latest version (head)

  9. sergiosgc commented on Feb 10, 2016

    @sergiosgc

    I am observing this exact error in a version compiled from current HEAD today.

  10. atamahjoubfar commented on Feb 28, 2016

    @atamahjoubfar

    I realized that if I let the cifar10_train.py and cifar10_eval.py files keep running simultaneously, despite the queue errors, the precision @ 1 is reported every 5 minutes. One can reduce this time interval by decreasing the value of 'eval_interval_secs' in the cifar10_eval.py file to see more frequent updates.

  11. assigned and unassigned on Mar 14, 2016
  12. yuanpengX commented on Apr 15, 2016

    @yuanpengX

    Is there any solution yet? Because I have met this problem too.

  13. atamahjoubfar commented on Apr 15, 2016

    @atamahjoubfar

    Unfortunately, none that I am aware of.

    Ata

    On Thu, Apr 14, 2016 at 6:23 PM, yuanpengX [email protected] wrote:

    Is there any solution yet? Because I have met this problem too.

    —
    You are receiving this because you commented.
    Reply to this email directly or view it on GitHub
    #389 (comment)

  14. girving commented on Jun 6, 2016

    @girving
    Contributor

    @ebrevdo: Do you have any thoughts here? Reassigning to you since Sherry is out.

  15. ebrevdo commented on Jun 10, 2016

    @ebrevdo
    Contributor

    @yuanpengX @atamahjoubfar is this still an issue? Is it just the verbose logging that's troubling you? when you reach the end of the input file, the queue dies and the training is restarted from the beginning. that may explain all the warnings.

  16. atamahjoubfar commented on Jun 20, 2016

    @atamahjoubfar

    @ebrevdo I just tested again the CIFAR-10 code on the same machine, and the issue is resolved. Thank you.

  17. girving commented on Jun 20, 2016

    @girving
    Contributor

    @atamahjoubfar Thanks! Closing for now; please comment or file another if it comes up again.

  18. sebastient commented on Aug 17, 2016

    @sebastient

    Issue does appear on 0.10rc0 for Mac (CPU) and Python 3 using a virtualenv installation. First time seeing this issue, otherwise appears to be working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions