Tfx: Addding Support for Image Dataset

Created on 2 May 2019  路  7Comments  路  Source: tensorflow/tfx

Hi,
We are looking for an pipeline example around Mnist or Cifar10 or Coco data sets.
If you could guide us on how to implement one also will do, we would be happy to support.

Thanks.

@thak123 FYI

docs

Most helpful comment

Hi,

We are creating a import example gen for directly import external tfrecord files (with tf example in it) and create train and eval split for downstream component

a custom component is also doable, we are working on creating an example for people to follow

All 7 comments

Hi,

We are creating a import example gen for directly import external tfrecord files (with tf example in it) and create train and eval split for downstream component

a custom component is also doable, we are working on creating an example for people to follow

@1025KB I am eagerly waiting for the example. The preprocessing_fn reads the content of the tfrecord files as sparse tensors. I am unable to convert them to fixedlen features and reshape the image data.

preprocessing_fn is for Transform, so you are able to custom ExampleGen to convert your input source to tf.Examples?

if you are talking about custom ExampleGen for reading data file format that we don't support yet, check this

you can also do your own conversion before TFX, and use ImportExampleGen to directly import the tf.Examples, check this

if your problem is Transform related, let me know and I can find you a Transform expert

@thak123 There are some pending work in the Schemagen to enable our support for fixedlen features. We will keep this thread updated.

preprocessing_fn is for Transform, so you are able to custom ExampleGen to convert your input source to tf.Examples?

Thanks for showing me the right direction. I am able to train the model now.

Was this page helpful?
0 / 5 - 0 ratings