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

Can I Use This Code With My Own Dataset? #1700

Closed
enissimsir opened this issue Dec 30, 2023 · 3 comments
Closed

Can I Use This Code With My Own Dataset? #1700

enissimsir opened this issue Dec 30, 2023 · 3 comments

Comments

@enissimsir
Copy link

Issue Type

Support

Source

source

Keras Version

2.14

Custom Code

Yes

OS Platform and Distribution

No response

Python version

No response

GPU model and memory

No response

Current Behavior?

Can I try this code with my own dataset? I wanna train a model with my dataset and it is not from TFDS

Standalone code to reproduce the issue or tutorial link

How should I change here?:
dataset_name = "stanford_dogs"
(ds_train, ds_test), ds_info = tfds.load(
    dataset_name, split=["train", "test"], with_info=True, as_supervised=True
)
NUM_CLASSES = ds_info.features["label"].num_classes

Relevant log output

No response

@sachinprasadhs
Copy link
Collaborator

Yes,

You can use any other dataset which can be considered for a classification problem other than TFDS also.

Mae sure you prepare your dataset pipeline according to your dataset which can be feed into the model.

You can refer this guide for some references: https://keras.io/api/data_loading/

Copy link

This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label Jan 18, 2024
Copy link

github-actions bot commented Feb 2, 2024

This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.

@github-actions github-actions bot closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants