Update config.json to include p5 and a few other layers (#1)

- Update config.json to include p5 and a few other layers (8e7066bf5cd04f2d5538b465c2dc1d442821bcc1)


Co-authored-by: Ankur Goyal <ankrgyl@users.noreply.huggingface.co>
This commit is contained in:
Narsil 2022-09-02 10:15:12 +00:00 committed by system
parent fcf529ef32
commit a8f01b6c00
1 changed files with 30 additions and 6 deletions

View File

@ -13,7 +13,10 @@
],
"MODEL.BACKBONE.NAME": "build_resnet_fpn_backbone",
"MODEL.FPN.IN_FEATURES": [
"res2"
"res2",
"res3",
"res4",
"res5"
],
"MODEL.MASK_ON": true,
"MODEL.PIXEL_STD": [
@ -32,11 +35,26 @@
"MODEL.RESNETS.DEPTH": 101,
"MODEL.RESNETS.NUM_GROUPS": 32,
"MODEL.RESNETS.OUT_FEATURES": [
"res2"
"res2",
"res3",
"res4",
"res5"
],
"MODEL.RESNETS.SIZES": [
[
32
],
[
64
],
[
128
],
[
256
],
[
512
]
],
"MODEL.RESNETS.STRIDE_IN_1X1": false,
@ -45,7 +63,10 @@
"MODEL.ROI_BOX_HEAD.NUM_FC": 2,
"MODEL.ROI_BOX_HEAD.POOLER_RESOLUTION": 14,
"MODEL.ROI_HEADS.IN_FEATURES": [
"p2"
"p2",
"p3",
"p4",
"p5"
],
"MODEL.ROI_HEADS.NAME": "StandardROIHeads",
"MODEL.ROI_HEADS.NUM_CLASSES": 5,
@ -54,7 +75,10 @@
"MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION": 7,
"MODEL.RPN.IN_FEATURES": [
"p2",
"p3"
"p3",
"p4",
"p5",
"p6"
],
"MODEL.RPN.POST_NMS_TOPK_TRAIN": 1000,
"MODEL.RPN.PRE_NMS_TOPK_TEST": 1000,
@ -68,8 +92,8 @@
"hidden_dropout_prob": 0.1,
"hidden_size": 96,
"image_feature_pool_shape": [
2,
2,
7,
7,
256
],
"initializer_range": 0.02,