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 can I use my dataset to train the model? #20

Open
ST-Jack opened this issue Jul 15, 2022 · 1 comment
Open

How can I use my dataset to train the model? #20

ST-Jack opened this issue Jul 15, 2022 · 1 comment

Comments

@ST-Jack
Copy link

ST-Jack commented Jul 15, 2022

My dataset only have one class, could you share the way to modify the code?

@ST-Jack ST-Jack changed the title How How can I use my dataset to train the model? Jul 15, 2022
@zbf1991
Copy link
Owner

zbf1991 commented Oct 5, 2022

Please prepare the *.npy file to encode your class as a one-hot encoding (you can find a *.npy file in this project). Then prepare your train.txt like the "train_aug.txt" in this project. Finally, please prepare your image in VOCdevkit style. After modifying the path as your file path, you can train on your dataset

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