barberry-nut
commited on
Commit
·
988c9ba
1
Parent(s):
d09be9e
Upload Models
Browse files- model_config.yaml +50 -0
- perching_model_final.pth +3 -0
- standard_model_final.pth +3 -0
model_config.yaml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# https://github.com/facebookresearch/detectron2/blob/main/configs/Base-RCNN-FPN.yaml
|
2 |
+
# https://github.com/facebookresearch/detectron2/blob/main/configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
|
3 |
+
MODEL:
|
4 |
+
MASK_ON: True
|
5 |
+
PIXEL_STD: [57.375, 57.120, 58.395]
|
6 |
+
RESNETS:
|
7 |
+
STRIDE_IN_1X1: False # this is a C2 model
|
8 |
+
NUM_GROUPS: 32
|
9 |
+
WIDTH_PER_GROUP: 8
|
10 |
+
DEPTH: 101
|
11 |
+
OUT_FEATURES: ["res2", "res3", "res4", "res5"]
|
12 |
+
META_ARCHITECTURE: "GeneralizedRCNN"
|
13 |
+
BACKBONE:
|
14 |
+
NAME: "build_resnet_fpn_backbone"
|
15 |
+
FPN:
|
16 |
+
IN_FEATURES: ["res2", "res3", "res4", "res5"]
|
17 |
+
ANCHOR_GENERATOR:
|
18 |
+
SIZES: [[32], [64], [128], [256], [512]] # One size for each in feature map
|
19 |
+
ASPECT_RATIOS: [[0.5, 1.0, 2.0]] # Three aspect ratios (same for all in feature maps)
|
20 |
+
RPN:
|
21 |
+
IN_FEATURES: ["p2", "p3", "p4", "p5", "p6"]
|
22 |
+
PRE_NMS_TOPK_TRAIN: 2000 # Per FPN level
|
23 |
+
PRE_NMS_TOPK_TEST: 1000 # Per FPN level
|
24 |
+
# Detectron1 uses 2000 proposals per-batch,
|
25 |
+
# (See "modeling/rpn/rpn_outputs.py" for details of this legacy issue)
|
26 |
+
# which is approximately 1000 proposals per-image since the default batch size for FPN is 2.
|
27 |
+
POST_NMS_TOPK_TRAIN: 1000
|
28 |
+
POST_NMS_TOPK_TEST: 1000
|
29 |
+
ROI_HEADS:
|
30 |
+
NAME: "StandardROIHeads"
|
31 |
+
IN_FEATURES: ["p2", "p3", "p4", "p5"]
|
32 |
+
ROI_BOX_HEAD:
|
33 |
+
NAME: "FastRCNNConvFCHead"
|
34 |
+
NUM_FC: 2
|
35 |
+
POOLER_RESOLUTION: 7
|
36 |
+
ROI_MASK_HEAD:
|
37 |
+
NAME: "MaskRCNNConvUpsampleHead"
|
38 |
+
NUM_CONV: 4
|
39 |
+
POOLER_RESOLUTION: 14
|
40 |
+
DATASETS:
|
41 |
+
TRAIN: ("Metadata(name='wing_train', thing_classes=['wing'])",)
|
42 |
+
TEST: ("Metadata(name='wing_val', thing_classes=['wing'])",)
|
43 |
+
SOLVER:
|
44 |
+
IMS_PER_BATCH: 16
|
45 |
+
BASE_LR: 0.02
|
46 |
+
STEPS: (60000, 80000)
|
47 |
+
MAX_ITER: 90000
|
48 |
+
INPUT:
|
49 |
+
MIN_SIZE_TRAIN: (640, 672, 704, 736, 768, 800)
|
50 |
+
VERSION: 2
|
perching_model_final.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b815a4c0201a041e3d06e28b591a3e7021d1e547f86c78b283fe42485a5caf16
|
3 |
+
size 856189760
|
standard_model_final.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:278df009de3030a060ee06882a2d42e87ea1316356dfee1d17b78e9030a70f27
|
3 |
+
size 856189760
|