tensorflow / tensorflow/datasets

How to use TFRecords

Open
#3,262 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

What I need help with / What I was wondering
Hi, I'm trying to get my TFRecord loaded in my app and I'm having some issues
What I've tried so far
I've used this piece of code::

Capture7

but it doesn't seem to return the intended result (this is outputted at the end of the print)

Capture8

Is there a way to separate each record within the tfrecord which will then make the data more tidy?

Any help would be appreciated.

Environment information:

  • Operating System: Windows 10
  • Python version: 3.7.
  • Tensorflow: 3.5.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named; the issue only includes screenshots of the attempted TFRecord loading code. Start by reviewing the shown code and TensorFlow TFRecord parsing guidance, then clarify the expected record structure and what output would count as a successful separation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
data, machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.