Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
detectron2
Commits
b634945d
Commit
b634945d
authored
Apr 09, 2025
by
limm
Browse files
support v0.6
parent
5b3792fc
Changes
696
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
175 additions
and
0 deletions
+175
-0
configs/COCO-Detection/fcos_R_50_FPN_1x.py
configs/COCO-Detection/fcos_R_50_FPN_1x.py
+11
-0
configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
+8
-0
configs/COCO-Detection/retinanet_R_50_FPN_1x.py
configs/COCO-Detection/retinanet_R_50_FPN_1x.py
+11
-0
configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
+5
-0
configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
+8
-0
configs/COCO-Detection/rpn_R_50_C4_1x.yaml
configs/COCO-Detection/rpn_R_50_C4_1x.yaml
+10
-0
configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
...igs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
...igs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
+8
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
+6
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
+6
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
+8
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
+6
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
...COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
+12
-0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
+9
-0
configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
...CO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
+13
-0
No files found.
configs/COCO-Detection/fcos_R_50_FPN_1x.py
0 → 100644
View file @
b634945d
from
..common.optim
import
SGD
as
optimizer
from
..common.coco_schedule
import
lr_multiplier_1x
as
lr_multiplier
from
..common.data.coco
import
dataloader
from
..common.models.fcos
import
model
from
..common.train
import
train
dataloader
.
train
.
mapper
.
use_instance_mask
=
False
optimizer
.
lr
=
0.01
model
.
backbone
.
bottom_up
.
freeze_at
=
2
train
.
init_checkpoint
=
"detectron2://ImageNetPretrained/MSRA/R-50.pkl"
configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RetinaNet.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-101.pkl"
RESNETS
:
DEPTH
:
101
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-Detection/retinanet_R_50_FPN_1x.py
0 → 100644
View file @
b634945d
from
..common.optim
import
SGD
as
optimizer
from
..common.coco_schedule
import
lr_multiplier_1x
as
lr_multiplier
from
..common.data.coco
import
dataloader
from
..common.models.retinanet
import
model
from
..common.train
import
train
dataloader
.
train
.
mapper
.
use_instance_mask
=
False
model
.
backbone
.
bottom_up
.
freeze_at
=
2
optimizer
.
lr
=
0.01
train
.
init_checkpoint
=
"detectron2://ImageNetPretrained/MSRA/R-50.pkl"
configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RetinaNet.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
RESNETS
:
DEPTH
:
50
configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RetinaNet.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
RESNETS
:
DEPTH
:
50
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-Detection/rpn_R_50_C4_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-C4.yaml"
MODEL
:
META_ARCHITECTURE
:
"
ProposalNetwork"
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
False
RESNETS
:
DEPTH
:
50
RPN
:
PRE_NMS_TOPK_TEST
:
12000
POST_NMS_TOPK_TEST
:
2000
configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
META_ARCHITECTURE
:
"
ProposalNetwork"
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
False
RESNETS
:
DEPTH
:
50
RPN
:
POST_NMS_TOPK_TEST
:
2000
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-C4.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-101.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
101
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-DilatedC5.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-101.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
101
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-101.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
101
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
0 → 100644
View file @
b634945d
from
..common.train
import
train
from
..common.optim
import
SGD
as
optimizer
from
..common.coco_schedule
import
lr_multiplier_1x
as
lr_multiplier
from
..common.data.coco
import
dataloader
from
..common.models.mask_rcnn_c4
import
model
model
.
backbone
.
freeze_at
=
2
train
.
init_checkpoint
=
"detectron2://ImageNetPretrained/MSRA/R-50.pkl"
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-C4.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-C4.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-DilatedC5.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-DilatedC5.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
0 → 100644
View file @
b634945d
from
..common.optim
import
SGD
as
optimizer
from
..common.coco_schedule
import
lr_multiplier_1x
as
lr_multiplier
from
..common.data.coco
import
dataloader
from
..common.models.mask_rcnn_fpn
import
model
from
..common.train
import
train
model
.
backbone
.
bottom_up
.
freeze_at
=
2
train
.
init_checkpoint
=
"detectron2://ImageNetPretrained/MSRA/R-50.pkl"
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
RPN
:
BBOX_REG_LOSS_TYPE
:
"
giou"
BBOX_REG_LOSS_WEIGHT
:
2.0
ROI_BOX_HEAD
:
BBOX_REG_LOSS_TYPE
:
"
giou"
BBOX_REG_LOSS_WEIGHT
:
10.0
configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
0 → 100644
View file @
b634945d
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
MASK_ON
:
True
WEIGHTS
:
"
detectron2://ImageNetPretrained/FAIR/X-101-32x8d.pkl"
PIXEL_STD
:
[
57.375
,
57.120
,
58.395
]
RESNETS
:
STRIDE_IN_1X1
:
False
# this is a C2 model
NUM_GROUPS
:
32
WIDTH_PER_GROUP
:
8
DEPTH
:
101
SOLVER
:
STEPS
:
(210000, 250000)
MAX_ITER
:
270000
Prev
1
2
3
4
5
6
…
35
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment