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

How to avoid aggregate(shuffle) in processing the tfrecord file? #201

Open
mathetian opened this issue Dec 24, 2022 · 0 comments
Open

How to avoid aggregate(shuffle) in processing the tfrecord file? #201

mathetian opened this issue Dec 24, 2022 · 0 comments

Comments

@mathetian
Copy link

I have a very large tfrecord directory, and need to filter it with some column to generate new tfrecord files.

Code likes that
image

When I run it in spark cluster, I find it will run with two steps.
image

I check the code in https://github.com/tensorflow/ecosystem/blob/master/spark/spark-tensorflow-connector/src/main/scala/org/tensorflow/spark/datasources/tfrecords/TensorFlowInferSchema.scala#L39, it have the aggregate steps !

Can I avoid it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant