-
Notifications
You must be signed in to change notification settings - Fork 75
/
test-caffe-r101-fix36.yaml
53 lines (53 loc) · 1.22 KB
/
test-caffe-r101-fix36.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
MODEL:
WEIGHTS: "bua-caffe-frcn-r101-k36.pth"
META_ARCHITECTURE: "GeneralizedBUARCNN"
PIXEL_MEAN: [102.9801, 115.9465, 122.7717]
ANCHOR_GENERATOR:
SIZES: [[4, 8, 16, 32]]
PROPOSAL_GENERATOR:
NAME: "BUARPN"
MIN_SIZE: 16
BUA:
ATTRIBUTE_ON: True
EXTRACT_FEATS: False # auto True when extract feats
RPN:
CONV_OUT_CHANNELS: 512
ATTRIBUTE:
NUM_CLASSES: 401
RESNETS:
DEPTH: 101
OUT_FEATURES: ["res4"]
NORM: "BN"
RES5_DILATION: 2
BACKBONE:
NAME: "build_bua_resnet_backbone"
FREEZE_AT: 3
RPN:
HEAD_NAME: "StandardBUARPNHead"
PRE_NMS_TOPK_TRAIN: 12000
POST_NMS_TOPK_TRAIN: 2000
POST_NMS_TOPK_TEST: 300
PRE_NMS_TOPK_TEST: 6000
BATCH_SIZE_PER_IMAGE: 64
ROI_HEADS:
NAME: "BUACaffeRes5ROIHeads"
BATCH_SIZE_PER_IMAGE: 64
SCORE_THRESH_TEST: -1.0
NMS_THRESH_TEST: 0.3
POSITIVE_FRACTION: 0.5
NUM_CLASSES: 1601
ROI_BOX_HEAD:
POOLER_TYPE: "ROIPool"
BBOX_REG_WEIGHTS: (1.0, 1.0, 1.0, 1.0)
DATASETS:
TRAIN: ("visual_genome_train",)
TEST: ("visual_genome_val",)
TEST:
DETECTIONS_PER_IMAGE: 400
DATALOADER:
NUM_WORKERS: 1
INPUT:
MIN_SIZE_TRAIN: (600, )
MAX_SIZE_TRAIN: 1000
MIN_SIZE_TEST: 600
MAX_SIZE_TEST: 1000