Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
2,091 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet101_conv5_body | ||
FASTER_RCNN: True | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet101_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet101_conv5_body | ||
FASTER_RCNN: True | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet101_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 180000 | ||
STEPS: [0, 120000, 160000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: ResNet.ResNet50_conv4_body | ||
FASTER_RCNN: True | ||
NUM_GPUS: 8 | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.01 | ||
GAMMA: 0.1 | ||
# 1x schedule (note TRAIN.IMS_PER_BATCH: 1) | ||
MAX_ITER: 180000 | ||
STEPS: [0, 120000, 160000] | ||
RPN: | ||
SIZES: (32, 64, 128, 256, 512) | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: ResNet.ResNet_roi_conv5_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
IMS_PER_BATCH: 1 | ||
BATCH_SIZE_PER_IM: 512 | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 6000 | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: ResNet.ResNet50_conv4_body | ||
FASTER_RCNN: True | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.01 | ||
GAMMA: 0.1 | ||
# 2x schedule (note TRAIN.IMS_PER_BATCH: 1) | ||
MAX_ITER: 360000 | ||
STEPS: [0, 240000, 320000] | ||
RPN: | ||
SIZES: (32, 64, 128, 256, 512) | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: ResNet.ResNet_roi_conv5_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
IMS_PER_BATCH: 1 | ||
BATCH_SIZE_PER_IM: 512 | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 6000 | ||
RPN_POST_NMS_TOP_N: 1000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 2 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 95000 | ||
STEPS: [0, 24000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 180000 | ||
STEPS: [0, 120000, 160000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
LOSS_TYPE: 'ciou' | ||
LOSS_BBOX_WEIGHT: 12. | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
LOSS_TYPE: 'diou' | ||
LOSS_BBOX_WEIGHT: 12. | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
LOSS_TYPE: 'giou' | ||
LOSS_BBOX_WEIGHT: 12. | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
LOSS_TYPE: 'iou' | ||
LOSS_BBOX_WEIGHT: 12. | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 1 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
38 changes: 38 additions & 0 deletions
38
configs/baselines/e2e_faster_rcnn_R-50-FPN_rpn_giou_1x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
MODEL: | ||
TYPE: generalized_rcnn | ||
CONV_BODY: FPN.fpn_ResNet50_conv5_body | ||
FASTER_RCNN: True | ||
LOSS_TYPE: 'giou' | ||
RPN_LOSS_TYPE: 'giou' | ||
LOSS_BBOX_WEIGHT: 10. | ||
RPN_LOSS_BBOX_WEIGHT: 1. | ||
RESNETS: | ||
IMAGENET_PRETRAINED_WEIGHTS: 'data/pretrained_model/resnet50_caffe.pth' | ||
NUM_GPUS: 8 | ||
SOLVER: | ||
WEIGHT_DECAY: 0.0001 | ||
LR_POLICY: steps_with_decay | ||
BASE_LR: 0.02 | ||
GAMMA: 0.1 | ||
MAX_ITER: 90000 | ||
STEPS: [0, 60000, 80000] | ||
FPN: | ||
FPN_ON: True | ||
MULTILEVEL_ROIS: True | ||
MULTILEVEL_RPN: True | ||
FAST_RCNN: | ||
ROI_BOX_HEAD: fast_rcnn_heads.roi_2mlp_head | ||
ROI_XFORM_METHOD: RoIAlign | ||
ROI_XFORM_RESOLUTION: 7 | ||
ROI_XFORM_SAMPLING_RATIO: 2 | ||
TRAIN: | ||
SCALES: (800,) | ||
MAX_SIZE: 1333 | ||
BATCH_SIZE_PER_IM: 512 | ||
RPN_PRE_NMS_TOP_N: 2000 # Per FPN level | ||
TEST: | ||
SCALE: 800 | ||
MAX_SIZE: 1333 | ||
NMS: 0.5 | ||
RPN_PRE_NMS_TOP_N: 1000 # Per FPN level | ||
RPN_POST_NMS_TOP_N: 1000 |
Oops, something went wrong.