TFDS partial load

140 views
Skip to first unread message

nuno miguel

unread,
Nov 5, 2019, 5:21:35 PM11/5/19
to dis...@tensorflow.org
Greetings,

Is it possible to partially load the datasets using TFDS?
Using a specific example, mnist has 60000 training examples and 10000 test examples, would it be possible to only load half of these values,?

if it helps explaining, here is the code for loading i am currently using:

dataset, metadata = tfds.load('mnist', as_supervised=True, with_info=True)
train_dataset, test_dataset = dataset['train'], dataset['test']

Best regards,
Nuno

--
Cumprimentos,
Nuno Rodrigues

Martin Wicke

unread,
Nov 5, 2019, 8:06:00 PM11/5/19
to nuno miguel, Ryan Sepassi, Discuss

--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/CAAXvekVAmpkfC537u%2BBODUUtwyFhKam17FfkBXy-R27T6ngRcg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages