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

Why the highest training accuracy happened in Iteration 0 ? #40

Open
xiaoxiongli opened this issue Sep 12, 2016 · 7 comments
Open

Why the highest training accuracy happened in Iteration 0 ? #40

xiaoxiongli opened this issue Sep 12, 2016 · 7 comments

Comments

@xiaoxiongli
Copy link

xiaoxiongli commented Sep 12, 2016

Now I am training the 4th R-FCN stage (totally 4 stage, with OHEM, 229 category LOGOs), and
I met a situation that the highest training accuracy(0.949) happened in Iteration 0 (that means just
use the stage 2' model). And after training several iteration(max 110000 as the author set), the final accuray
is still lower than Iteration 0.

I feel confuse that Why this happens..., if this always happens, we even do not need the last training stage..., this problem bother me a lot......, help..

I try 3 kind of base learning rate: 0.01, 0.001, 0.0001. the situation I mentioned just now is almost same. just like this:

------------------------- Iteration 0 -------------------------
Training : # accuracy 0.949, loss (cls 0.124, reg 0.243)
Testing : accuracy 0.926, loss (cls 0.201, reg 0.223)

------------------------- Iteration 2000 -------------------------
Training : accuracy 0.938, loss (cls 0.148, reg 0.0596)
Testing : accuracy 0.927, loss (cls 0.2, reg 0.0525)

------------------------- Iteration 4000 -------------------------
Training : accuracy 0.938, loss (cls 0.147, reg 0.0418)
Testing : accuracy 0.927, loss (cls 0.199, reg 0.0504)

------------------------- Iteration 6000 -------------------------
Training : accuracy 0.94, loss (cls 0.144, reg 0.0399)
Testing : accuracy 0.927, loss (cls 0.198, reg 0.0497)

.....
.....

------------------------- Iteration 98000 -------------------------
Training : accuracy 0.943, loss (cls 0.135, reg 0.0315)
Testing : accuracy 0.929, loss (cls 0.193, reg 0.0431)

------------------------- Iteration 100000 -------------------------
Training : accuracy 0.943, loss (cls 0.137, reg 0.0317)
Testing : accuracy 0.929, loss (cls 0.193, reg 0.0431)

------------------------- Iteration 102000 -------------------------
Training : # accuracy 0.943, loss (cls 0.134, reg 0.0317)
Testing : accuracy 0.929, loss (cls 0.193, reg 0.0429)

....
....

@northeastsquare
Copy link

What about your test accuracy?

@ouxinyu
Copy link

ouxinyu commented Oct 8, 2016

@xiaoxiongli I see you use " 4th R-FCN stage" to train the R-FCN, and how to train the RPN with Resnet101 you are. Can you share the codes? thank you!

@xiaoxiongli
Copy link
Author

@ouxinyu I recommend you that use the R-FCN's python version, it is trained in a end2end method(not 4-stage training), the end2end training method is 1.5x faster than 4-stage training. and it is more simpler: only write the network down as a single model and just train it. So i am focus on it now and i am learning Python now. I got a mAP=97.2(faster-rcnn is about mAP=90) in my own training data and test data(229 category logo, about 3w images) with our 4-stage(alternating optimization) training. R-FCN is really good. For the code commit to github or release to anyone else, I need some discuss with my CEO, So Please try the RFCN's Python version first. bless.

@xiaoxiongli
Copy link
Author

xiaoxiongli commented Oct 12, 2016

@northeastsquare for my own training data(229 category logo, about 3w images) , compare to faster-rcnn, the mAP change from 90 to 97. i do not know the result of VOC2007, i directly train on my own data.

@cervantes-loves-ai
Copy link

@xiaoxiongli can you give me some advice for fine-tuning R-FCN ?

@msukoz
Copy link

msukoz commented May 26, 2017

hi, @xiaoxiongli, how was your training using R-FCN on your own data via 4 step training? I now want to use my own data to finetune on R-FCN via 4 step training, but it crashes in voc0712_trainval_sp.m. Author gives 6 .mat file in folder "self_proposal_data", but my own data can not use these .mat , right? So can I get my own .mat(self_proposal_data). Thank you.

@Chen94yue
Copy link

你好,我碰到了相同的问题。一旦不使用stage5的输出接ROI,accuracy就出现异常,请问你是怎么解决的啊。

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

6 participants