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 this model on my own data set? #46

Open
jlhou opened this issue Jul 5, 2019 · 3 comments
Open

How can I use this model on my own data set? #46

jlhou opened this issue Jul 5, 2019 · 3 comments

Comments

@jlhou
Copy link

jlhou commented Jul 5, 2019

Thank you for doing such an outstanding job!How can I use this model on my own data set?

@speedinghzl
Copy link
Owner

speedinghzl commented Jul 6, 2019

Hi @jlhou, thanks for your interest in our work. There are several steps needed for training on the custom dataset:

  1. prepare images and labels, and generate train and val files. (see examples)
  2. modify the dataset.py to adapt your dataset.
  3. run the script. need to add the parameter --num-classes and modify --data-dir --data-list

P.S. Only step 1 is required If you just want to run inference on your dataset.

@jlhou
Copy link
Author

jlhou commented Jul 9, 2019

Thank you!

@LeeThrzz
Copy link

@jlhou hello, I meet the same problem as you, I have a 2 classes dataset to train, and I modify the dataset.py too, but I can't get the results, If you succeed, could you tell me how to correct it? thanks a lot!

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

3 participants