s2anet.yml 1.1 KB
Newer Older
C
cnn 已提交
1
architecture: S2ANet
C
cnn 已提交
2
pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vd_ssld_v2_pretrained.pdparams
C
cnn 已提交
3 4 5 6 7 8 9
weights: output/s2anet_r50_fpn_1x_dota/model_final.pdparams


# Model Achitecture
S2ANet:
  backbone: ResNet
  neck: FPN
W
wangxinxin08 已提交
10
  head: S2ANetHead
C
cnn 已提交
11 12 13

ResNet:
  depth: 50
C
cnn 已提交
14
  variant: d
C
cnn 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  norm_type: bn
  return_idx: [1,2,3]
  num_stages: 4

FPN:
  in_channels: [256, 512, 1024]
  out_channel: 256
  spatial_scales: [0.25, 0.125, 0.0625]
  has_extra_convs: True
  extra_stage: 2
  relu_before_extra_convs: False

S2ANetHead:
  anchor_strides: [8, 16, 32, 64, 128]
  anchor_scales: [4]
  anchor_ratios: [1.0]
  anchor_assign: RBoxAssigner
  stacked_convs: 2
  feat_in: 256
  feat_out: 256
C
cnn 已提交
35
  align_conv_type: 'AlignConv'  # AlignConv Conv
C
cnn 已提交
36 37
  align_conv_size: 3
  use_sigmoid_cls: True
W
wangxinxin08 已提交
38 39
  reg_loss_weight: [1.0, 1.0, 1.0, 1.0, 1.1]
  cls_loss_weight: [1.1, 1.05]
C
cnn 已提交
40 41 42 43 44 45
  nms_pre: 2000
  nms:
    name: MultiClassNMS
    keep_top_k: -1
    score_threshold: 0.05
    nms_threshold: 0.1
C
cnn 已提交
46
    normalized: False
W
wangxinxin08 已提交
47 48 49 50 51 52

RBoxAssigner:
  pos_iou_thr: 0.5
  neg_iou_thr: 0.4
  min_iou_thr: 0.0
  ignore_iof_thr: -2