TinyPerson_v2

  • Big table

GPU: 3080 x2
train set: train + val; eval set: test
cut size: (640, 640)

detector batch lr AP_{50} AP_{50}^{tiny} script
Faster RCNN 4x2 0.04 67.36
73.44
54.51
60.78
exp/sh/Baseline_TinyPersonV2.sh:1.3
RetinaNet 4x2 0.04 54.03
72.75
42.11
59.45
exp/sh/Baseline_TinyPersonV2.sh:2.1
Adap RetinaNet 3x2 0.04 74.19 63.78 exp/sh/Baseline_TinyPersonV2.sh:2.2
FCOS 4x2 0.04 48.09
65.08
41.39
54,37
exp/sh/Baseline_TinyPersonV2.sh:3.1
Adap FCOS 4x2 0.04 65.32
71.59
54.02
60.98
exp/sh/Baseline_TinyPersonV2.sh:3.2
RepPoint 4x2 0.04 54.71
73.47
43.18
60.79
exp/sh/Baseline_TinyPersonV2.sh:4.1
Adap RepPoint 4x2 0.04 68.92
75.27
56.17
64.56
exp/sh/Baseline_TinyPersonV2.sh:4.2
  • 目錄結(jié)構(gòu)

數(shù)據(jù)集位置:~/dataset/tiny_set_v2
數(shù)據(jù)集來源:17suo(基礎(chǔ)) + tiny_set_v1
規(guī)則:模態(tài)/視頻號/圖片
劃分:10: 1 : 10(視頻號級別)

  • TinyPerson_v2(RGB)

Tab. 1. 目標(biāo)size ratio統(tǒng)計.

dataset_v3.0.1 absolute size relative size aspect ratio
TinyPerson_v2 (rgb) 23.197±9.815 0.016±0.007 0.731±0.422
TinyPerson_v2 (infra) 12.614±4.817 0.017±0.006 0.827±0.422
dataset_v2.0.1 absolute size relative size aspect ratio
TinyPerson_v2 (rgb) 22.692±12.117 0.016±0.008 0.746±0.509
TinyPerson_v2 (rgb without ignore) 22.619±10.849 0.016±0.007 0.723±0.424
TinyPerson_v2 (xray) 13.551±5.078 0.018±0.007 0.874±0.495
TinyPerson_v2 (xray without ignore) 13.615±5.099 0.018±0.007 0.862±0.481
TinyPerson

Tab. 2. 數(shù)據(jù)集圖片與標(biāo)注數(shù)量.

TinyPerson_v3.0.1 Train set Valid set Test set sum
#image (rgb) 4614 375 3559 8548
#image (infra) 4614 375 3559 8548
#annotation (rgb) 170383 16408 275486 462277
#annotation (infra) 172190 16447 228775 417412
TinyPerson_v2.0.1 Train set Valid set Test set sum
#image (rgb) 5711 568 5753 (5754?) 12032
#image (xray) 8938 906 8950 18794
#annotation (rgb) 262063 42399 315165 619627
#annotation (xray) 390356 72525 291968 754849
TinyPerson

Fig. 分布.


TinyPerson

[Issue]

  • issue: 無法算均值方差,存在annitation的bbox為nan
  • issue: 復(fù)雜bug(7.9)>> [繼續(xù)train]
  • issue: >> [繼續(xù)train]
    --resume-from + {dir/} + epoch_9.pth
--resume-from ../TOV_mmdetection_cache/work_dir/${CONFIG}/trainval${WH[0]}x${WH[1]}_lr${LR}_clipg10_1x_b${B}${GPU}g/epoch_9.pth
  • issue: >> [re-test]
    evaluation.do_final_eval=True \
    --resume-from + {dir/} + epoch_9.pth
evaluation.do_final_eval=True \
--resume-from ../TOV_mmdetection_cache/work_dir/${CONFIG}/trainval${WH[0]}x${WH[1]}_lr${LR}_1x_b${B}${GPU}g/epoch_12.pth

  • issue: >> [刪除無用Epoch]
    $python exp/tools/clear_tmp_pth.py ../TOV_mmdetection_cache/work_dir/

  • issue: 發(fā)散 >> [clip_g]
    梯度過大,loss發(fā)散,但仍需訓(xùn)練。可改進(jìn)網(wǎng)路,增加梯度裁剪。


    issue 1: loss不收斂
issue 2: loss NaN,程序退出

FCOS

"""
"configs2/TinyPersonV2/base/fcos_r50_caffe_fpn_gn-head_1x_TinyPersonV2_640.py"
"""
optimizer_config = dict(    # wd: 改小grad_clip['max_norm']
    _delete_=True, grad_clip=dict(max_norm=15, norm_type=2))
# optimizer_config = dict(
#     _delete_=True, grad_clip=dict(max_norm=35, norm_type=2))

# learning policy
lr_config = dict(
    warmup_iters=500,)    # wd: 觀察500 iters

RetinaNet

"""
"configs2/TinyPersonV2/base/retinanet_r50_fpn_1x_TinyPersonV2_640.py"
"""
optimizer_config = dict(    # wd: 改小grad_clip['max_norm']
    _delete_=True, grad_clip=dict(max_norm=15, norm_type=2))
# optimizer_config = dict(
#     _delete_=True, grad_clip=dict(max_norm=35, norm_type=2))

# learning policy
lr_config = dict(
    warmup_iters=500,)    # wd: 觀察500 iters

# xb exp
python exp/tools/semi_coarse_point_manager.py
python exp/tools/coarse_point_manager.py
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 我是黑夜里大雨紛飛的人啊 1 “又到一年六月,有人笑有人哭,有人歡樂有人憂愁,有人驚喜有人失落,有的覺得收獲滿滿有...
    陌忘宇閱讀 8,853評論 28 54
  • 信任包括信任自己和信任他人 很多時候,很多事情,失敗、遺憾、錯過,源于不自信,不信任他人 覺得自己做不成,別人做不...
    吳氵晃閱讀 6,373評論 4 8
  • 步驟:發(fā)微博01-導(dǎo)航欄內(nèi)容 -> 發(fā)微博02-自定義TextView -> 發(fā)微博03-完善TextView和...
    dibadalu閱讀 3,419評論 1 3
  • 雜志上說生理期的時候免疫力會下降,我覺得挺玄乎,但每次都應(yīng)驗在我身上,那幾天總是會感冒,所以生理期同時會伴隨著...
    宿原小姐閱讀 1,200評論 1 3

友情鏈接更多精彩內(nèi)容