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

how to train on my own dataset? #1

Open
manvirvirk opened this issue Mar 19, 2020 · 1 comment
Open

how to train on my own dataset? #1

manvirvirk opened this issue Mar 19, 2020 · 1 comment

Comments

@manvirvirk
Copy link

how to train on my own dataset?

@ManuelPalermo
Copy link
Owner

Sorry for the long delay, did not get notified for some reason.

You just need to create some function to get data paths for the image frames/labels of your dataset, in order to create DataGenerator objects:

train_path_data = ["img_path1", "img_path2", ..., "img_pathn"]
train_path_labels = ["label_path1", "label_path2", ..., "label_pathn"]
train_data = DataGenerator(images_paths=train_path_data, target_paths=train_path_labels, .... )

#(You should create similar generators for validation and testing)

The data generators are then responsible for reading the data from disk and feeding it to the model.

Let me know if you have further questions.

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