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 set configuration when training faster rcnn on VOC2007 #384
Comments
Hi @ absorbguo, Well, if you've made sure rest of the boiler-plate code for training (like num_classes and num_outputs) have been taken care of, then I would suggest 2 - 3 things :
|
@rohitghosh thanks for your suggestion. |
Hi,all |
Can you give some marks for comparison ? |
@absorbguo Do you have any changes other than the training methods? |
@315386775 Except the training method, I changed the 'sigma' value in the stage1_rpn_train.pt. I set sigma=1. you can take a try. |
@absorbguo
|
hello, |
hi,all
I want to train faster-rcnn on my own dataset,and I begin with training FRCN on Pascal VOC2007 dataset。
After going through the faster-rcnn package,I figure out that there're two configuration files needed by the training process。
Firstly,the config.py which locates at “lib/fast-rcnn/config.py”specifies some training and testing options
training options are below
and testing options
In the config.py script,I only modified PROPOSAL_METHOD :
secondly,there's another faster_rcnn_end2end.yml locate at "experiments/faster_rcnn_end2end" contains these infomation also specify some training and testing options.I didn't modify anything in this script.
finally,there is another parameter which is scale to be set.The original setting in the anchor_target_layer.py and proposal_layer.py is (8,16,32) which differs a lot in the paper (128,256,512),but I keep it unchanged.
with these settings,I trained a model with 60000 iters and get a very bad result. The detector could propose some foreground regions but the cls_score is quite low nearly 10e-4. Does anyone know what's going wrong with these settings?
The model I used is vgg_cnn_m_1024 and I trained it from the begining without finetuning. I use solvers and train_val prototxt with raw settings under the root "models/pascal_voc/VGG_CNN_M_1024/faster_rcnn_end2end" .This means I take the end2end training strategy to train rpn and fast-rcnn network.
Solver is presented below:
the training prototxt I used is defined here..
best regards
The text was updated successfully, but these errors were encountered: