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

loading own dataset #31

Open
mahsa631 opened this issue Dec 16, 2018 · 3 comments
Open

loading own dataset #31

mahsa631 opened this issue Dec 16, 2018 · 3 comments

Comments

@mahsa631
Copy link

how can i load my own dataset instead of Mnist dataset?( dataset = mnist_dataset.train(data_dir)

@omoindrot
Copy link
Owner

See a similar question in #8.

@mahsa631
Copy link
Author

mahsa631 commented Feb 9, 2019

thanks a lot for your useful code...i could run it for Mnist dataset but i need run it for my image dataset ...it has been explained in post #8 but i cant understand clearly...what changes dose "input_fn" need?do i just delete
( dataset = mnist_dataset.test(data_dir) from input_fn?please guide me i really need it

@omoindrot
Copy link
Owner

You should read the TensorFlow guide on tf.data to understand datasets a bit better maybe.

The input_fn just needs to return a tf.data.Dataset that will be used in the model_fn.

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

2 participants