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 my own dataset? #2

Closed
CRonaldo1997 opened this issue Aug 9, 2018 · 4 comments
Closed

How to train my own dataset? #2

CRonaldo1997 opened this issue Aug 9, 2018 · 4 comments

Comments

@CRonaldo1997
Copy link

Hi thanks for your work, how can I train the model using own dataset? Thanks

@qfgaohao
Copy link
Owner

qfgaohao commented Aug 9, 2018

Hi @CRonaldo1997 , I think the easiest way is as follows:

  1. Convert you datasets into Pascal VOC format.
  2. run "python train_ssd.py --datasets your-train-dataset-path --validation_dataset your-validation-dataset-path --net mobilenet-v1-ssd --base_net models/mobilenet_v1_with_relu_69_5.pth --batch_size 24 --num_epochs 200 --scheduler cosine --lr 0.01 --t_max 200"

Feel free to change the parameters.

@ramanathan831
Copy link

Hi @CRonaldo1997, I am not able to download the pre-trained model, can you upload in onedrive or similar to it and share the link here

@qfgaohao
Copy link
Owner

It's ok now. Plz refer to Issue #4

@kurianbenoy
Copy link

Hi @CRonaldo1997 , I think the easiest way is as follows:

1. Convert you datasets into Pascal VOC format.

For a dataset without Pascal VOOC format, removing years from data loader will work out right @qfgaohao ?

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

4 participants