Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- feed_dict = {
- 'enc_inputs:0': next_batch['inputs'],
- 'enc_targets:0': next_batch['targets']
- }
- TypeError: The value of a feed cannot be a tf.Tensor object. Acceptable feed values include Python scalars, strings, lists, numpy ndarrays, or TensorHandles.For reference, the tensor object was Tensor("IteratorGetNext:1", shape=(?, ?, 80, 3), dtype=float32) which was passed to the feed with key enc_inputs:0.
- tensorflow.python.framework.errors_impl.NotFoundError: No registered 'DataFormatVecPermute' OpKernel for CPU devices compatible with node Shape_3-0-0-VecPermuteNCHWToNHWC-LayoutOptimizer = DataFormatVecPermute[T=DT_INT32, _kernel="host", dst_format="NHWC", src_format="NCHW"](Shape_3)
- . Registered: device='GPU'; T in [DT_INT64]
- device='GPU'; T in [DT_INT32]
- device='CPU'; T in [DT_INT64]
- device='CPU'; T in [DT_INT32]
- device='GPU'; label='host'; T in [DT_INT64]
- device='GPU'; label='host'; T in [DT_INT32]
- [[Node: Shape_3-0-0-VecPermuteNCHWToNHWC-LayoutOptimizer = DataFormatVecPermute[T=DT_INT32, _kernel="host", dst_format="NHWC", src_format="NCHW"](Shape_3)]]
- [[Node: IteratorGetNext = IteratorGetNext[output_shapes=[[?,?], [?,?,80,3], [?,?]], output_types=[DT_INT64, DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](OneShotIterator)]]
Add Comment
Please, Sign In to add comment