【发布时间】:2016-02-24 23:00:42
【问题描述】:
如果我尝试在 cifar10_train.py 文件中使用 cifar10.py 和 cifar10_input.py, 它给出以下错误:
Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes.
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
W tensorflow/core/kernels/queue_ops.cc:114] Invalid argument: Signature mismatch, have: string_ref, float-> expected: string_ref, string->
然后终端挂起...
我只改变了两件事:
我将“from tensorflow.models.image.cifar10 import cifar10”替换为“import cifar10”,对于 cifar10_input.py 也是如此
将 max_steps 设置为 5000,以检查代码是否运行无误。
任何帮助将不胜感激。谢谢
【问题讨论】:
标签: tensorflow