2

I'm currently using the coco/2017 dataset for some use in tf.keras transferred learning

I am aware that you can download the full dataset using the code bellow:

(raw_train, raw_validation, raw_test), metadata = tfds.load(
                                        'coco/2017',
                                        split=list(splits),
                                        with_info=True,
                                        as_supervised=True)

How would I do this if I only wanted to extract the 'persons' images and labels. Instead of the full dataset?

PyStraw45
  • 204
  • 3
  • 13
  • I think your question is answered here: https://stackoverflow.com/questions/51100191/how-can-i-download-a-specific-part-of-coco-dataset – Jimmy Fagerholm Aug 15 '19 at 11:22
  • That way is specific to the coco dataset libraries. I'm looking for a way of doing it through tensorflow-datasets – PyStraw45 Aug 15 '19 at 11:52

0 Answers0