From 0a0dc123ddf2e0d59e15f23a6e05f59d3e9bda9c Mon Sep 17 00:00:00 2001 From: zhujian <505169307@qq.com> Date: Fri, 3 Apr 2020 15:54:57 +0800 Subject: [PATCH] =?UTF-8?q?docs(r-cnn):=20=E6=B7=BB=E5=8A=A0=E8=AE=AD?= =?UTF-8?q?=E7=BB=83=E7=BB=93=E6=9E=9C=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.md | 2 ++ ...06\347\261\273\345\231\250\350\256\255\347\273\203.md" | 4 +++- .../\345\276\256\350\260\203\346\250\241\345\236\213.md" | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6643bd0..237a077 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,6 +13,8 @@ 3. 分类器训练 4. 目标检测器实现 +**本仓库最终实现一个汽车类别目标检测器** + ## 模块构成 1. 区域建议生成:`selectivesearch`算法实现,生成类别独立的区域建议 diff --git "a/docs/\345\210\206\347\261\273\345\231\250\350\256\255\347\273\203.md" "b/docs/\345\210\206\347\261\273\345\231\250\350\256\255\347\273\203.md" index 4dec0f3..3d6f804 100644 --- "a/docs/\345\210\206\347\261\273\345\231\250\350\256\255\347\273\203.md" +++ "b/docs/\345\210\206\347\261\273\345\231\250\350\256\255\347\273\203.md" @@ -128,4 +128,6 @@ val Loss: 1.0424 Acc: 0.9246 remiam negative size: 365403, acc: 0.9981 Training complete in 55m 50s Best val Acc: 0.924645 -``` \ No newline at end of file +``` + +**经过`2`轮训练后,分类器损失就开始收敛** \ No newline at end of file diff --git "a/docs/\345\276\256\350\260\203\346\250\241\345\236\213.md" "b/docs/\345\276\256\350\260\203\346\250\241\345\236\213.md" index 748dfcf..9776399 100644 --- "a/docs/\345\276\256\350\260\203\346\250\241\345\236\213.md" +++ "b/docs/\345\276\256\350\260\203\346\250\241\345\236\213.md" @@ -156,4 +156,10 @@ val Loss: 0.5996 Acc: 0.8718 Training complete in 461m 14s Best val Acc: 0.873228 -``` \ No newline at end of file +``` + +模型在训练过程中呈现过拟合现象,可考虑调整学习率、添加权重衰减以及更换优化器的方式: + +1. 学习率从`1e-3`调整为`1e-4` +2. 添加`L2`权重衰减,衰减因子为`1e-4` +3. 使用`Adam`替换`SGD` \ No newline at end of file