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

Closed
AnaZou opened this issue Oct 12, 2016 · 3 comments
Closed

How to train on own dataset? #9

AnaZou opened this issue Oct 12, 2016 · 3 comments

Comments

@AnaZou
Copy link

AnaZou commented Oct 12, 2016

Hi, i'm trying to train on my own dataset with different classes, when i revised the train.prototxt, i just revised three place[new conv layer:num_output; input_data:num_classes],is that right?

@YuwenXiong
Copy link
Owner

YuwenXiong commented Oct 12, 2016

Hi @zxy1016 ,
Besides prepare your own data, you need to modify two layers' num_output: "rfcn_cls", "psroipooled_cls_rois", change the num_output of "rfcn_cls" to [your class_num] * 7 * 7, and the num_output of "psroipooled_cls_rois" to [your class_num]. And you needn't modify num_classes of "input-data" layer since it is useless when using RPN.

@qianyeqiang
Copy link

@orpine
@orpine
But why have i trained it using my own dataset without changing "rfcn_cls" and "psroipooled_cls_rois"?(my categories are 2)
Does it have impact on accuacy?

@ravikantb ravikantb mentioned this issue Dec 7, 2016
@Timonzimm
Copy link
Contributor

Hi,
Could you please enlighten me on the part about preparing the data? I couldn't find any help reading the Readme

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