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

train on own dataset #4

Open
Shawn0Hsu opened this issue Nov 16, 2020 · 6 comments
Open

train on own dataset #4

Shawn0Hsu opened this issue Nov 16, 2020 · 6 comments

Comments

@Shawn0Hsu
Copy link

Hi, thank you for your work. I want to train my own data set on this network. There are only a few types and the data format is VOC format. May I ask what I need to modify, thank you!

@dd604
Copy link
Owner

dd604 commented Nov 17, 2020

You can refer to the training on VOC, where data arranges as follow:
VOCdevkit2007
|__ VOC2007
|_ JPEGImages
|_ Annotations
|_ ImageSets
|_ SegmentationClass

@Shawn0Hsu
Copy link
Author

You can refer to the training on VOC, where data arranges as follow:
VOCdevkit2007
|__ VOC2007
|_ JPEGImages
|_ Annotations
|_ ImageSets
|_ SegmentationClass

Okay, thank you. I have tried training on my own data set. There is only one category, but the training loss function will soon be nan. Do you know the reason? The training set is about 2000 images.

@dd604
Copy link
Owner

dd604 commented Nov 17, 2020

You can refer to the training on VOC, where data arranges as follow:
VOCdevkit2007
|__ VOC2007
|_ JPEGImages
|_ Annotations
|_ ImageSets
|_ SegmentationClass

Okay, thank you. I have tried training on my own data set. There is only one category, but the training loss function will soon be nan. Do you know the reason? The training set is about 2000 images.

You can use a smaller learning rate.

@Shawn0Hsu
Copy link
Author

You can refer to the training on VOC, where data arranges as follow:
VOCdevkit2007
|__ VOC2007
|_ JPEGImages
|_ Annotations
|_ ImageSets
|_ SegmentationClass

Okay, thank you. I have tried training on my own data set. There is only one category, but the training loss function will soon be nan. Do you know the reason? The training set is about 2000 images.

You can use a smaller learning rate.

Ok, thanks. I will try, thank you!

@dd604
Copy link
Owner

dd604 commented Nov 17, 2020

You can refer to the training on VOC, where data arranges as follow:
VOCdevkit2007
|__ VOC2007
|_ JPEGImages
|_ Annotations
|_ ImageSets
|_ SegmentationClass

Okay, thank you. I have tried training on my own data set. There is only one category, but the training loss function will soon be nan. Do you know the reason? The training set is about 2000 images.

You can use a smaller learning rate.

Ok, thanks. I will try, thank you!

No problem. You can also consider using warmup.

@shangshanghuiliyi
Copy link

Where to modify the data to find the path, I don't want to follow the kind of data file storage form given by the author

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