[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf.raw_ops.ExperimentalDatasetToTFRecord: Aborted (core dumped) #63691

Open
vraebfdsb opened this issue Mar 14, 2024 · 1 comment
Open

tf.raw_ops.ExperimentalDatasetToTFRecord: Aborted (core dumped) #63691

vraebfdsb opened this issue Mar 14, 2024 · 1 comment
Assignees
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.16 type:bug Bug

Comments

@vraebfdsb
Copy link
vraebfdsb commented Mar 14, 2024

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

binary

TensorFlow version

tf 2.15

Custom code

Yes

OS platform and distribution

Ubuntu 20.04

Mobile device

No response

Python version

3.9

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Under specific input, tf.raw_ops.ExperimentalDatasetToTFRecord encounters "Aborted (core dumped)".

Standalone code to reproduce the issue

import tensorflow as tf

input_data = tf.data.Dataset.range(10).map(lambda x: tf.strings.as_string(x))
input_data = input_data.batch(2)  

filename = tf.constant("output.tfrecord")
compression_type = tf.constant("GZIP")
tf.raw_ops.ExperimentalDatasetToTFRecord(input_dataset=input_data._variant_tensor, filename=filename, compression_type=compression_type)

Relevant log output

2024-03-14 05:47:55.415453: F tensorflow/core/framework/tensor.cc:852] Check failed: 1 == NumElements() (1 vs. 2)Must have a one element tensor
Aborted (core dumped)
@SuryanarayanaY
Copy link
Collaborator

Hi @nonenone12135 ,

Replicated the reported check fail and attached screenshot for reference.

Screenshot 2024-03-19 at 4 14 58 PM

@SuryanarayanaY SuryanarayanaY added comp:ops OPs related issues TF 2.16 labels Mar 19, 2024
@SuryanarayanaY SuryanarayanaY added the stat:awaiting tensorflower Status - Awaiting response from tensorflower label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.16 type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants