os:redhat7.3 cuda8.0 cudnn6.0 tensorflow_gpu1.3 p100*8
[root@tensorflow cifar10]# python cifar10_multi_gpu_train.py
Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes.
Traceback (most recent call last):
File "cifar10_multi_gpu_train.py", line 277, in
tf.app.run()
File "/usr/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cifar10_multi_gpu_train.py", line 273, in main
train()
File "cifar10_multi_gpu_train.py", line 178, in train
loss = tower_loss(scope, image_batch, label_batch)
File "cifar10_multi_gpu_train.py", line 78, in tower_loss
logits = cifar10.inference(images)
File "/home/tensorflow-models/models-master/tutorials/image/cifar10/cifar10.py", line 243, in inference
reshape = tf.reshape(pool2, [images.get_shape()[0], -1])
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2619, in reshape
name=name)
File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 493, in apply_op
raise err
TypeError: Failed to convert object of type <type 'list'> to Tensor. Contents: [Dimension(128), -1]. Consider casting elements to a supported type.
System information
What is the top-level directory of the model you are using:
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:
You can collect some of this information using our environment capture script:
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
Closing this issue due to lack of information to work with. Feel free to reopen the issue by providing all the information asked by the template. Thanks!
os:redhat7.3 cuda8.0 cudnn6.0 tensorflow_gpu1.3 p100*8 [root@tensorflow cifar10]# python cifar10_multi_gpu_train.py Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes. Traceback (most recent call last): File "cifar10_multi_gpu_train.py", line 277, in
tf.app.run()
File "/usr/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cifar10_multi_gpu_train.py", line 273, in main
train()
File "cifar10_multi_gpu_train.py", line 178, in train
loss = tower_loss(scope, image_batch, label_batch)
File "cifar10_multi_gpu_train.py", line 78, in tower_loss
logits = cifar10.inference(images)
File "/home/tensorflow-models/models-master/tutorials/image/cifar10/cifar10.py", line 243, in inference
reshape = tf.reshape(pool2, [images.get_shape()[0], -1])
File "/usr/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2619, in reshape
name=name)
File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 493, in apply_op
raise err
TypeError: Failed to convert object of type <type 'list'> to Tensor. Contents: [Dimension(128), -1]. Consider casting elements to a supported type.
System information
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.