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
ModelZoo
ResNet50_tensorflow
Commits
a89232d6
Commit
a89232d6
authored
Aug 23, 2021
by
A. Unique TensorFlower
Browse files
Open source SpineNet configs with DeepMAC Mask R-CNN.
PiperOrigin-RevId: 392534821
parent
fe0f0e6a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
119 additions
and
0 deletions
+119
-0
official/vision/beta/projects/deepmac_maskrcnn/README.md
official/vision/beta/projects/deepmac_maskrcnn/README.md
+2
-0
official/vision/beta/projects/deepmac_maskrcnn/configs/experiments/deep_mask_head_rcnn_nonvoc_spinenet143_hg52.yaml
...eriments/deep_mask_head_rcnn_nonvoc_spinenet143_hg52.yaml
+61
-0
official/vision/beta/projects/deepmac_maskrcnn/configs/experiments/deep_mask_head_rcnn_voc_spinenet143_hg52.yaml
...experiments/deep_mask_head_rcnn_voc_spinenet143_hg52.yaml
+56
-0
No files found.
official/vision/beta/projects/deepmac_maskrcnn/README.md
View file @
a89232d6
...
@@ -82,6 +82,8 @@ $ python3 -m official.vision.beta.projects.deepmac_maskrcnn.train \
...
@@ -82,6 +82,8 @@ $ python3 -m official.vision.beta.projects.deepmac_maskrcnn.train \
```
```
`CONFIG_FILE`
can be any file in the
`configs/experiments`
directory.
`CONFIG_FILE`
can be any file in the
`configs/experiments`
directory.
When using SpineNet models, please specify
`--experiment=deep_mask_head_rcnn_spinenet_coco`
**Note:**
The default eval batch size of 32 discards some samples during
**Note:**
The default eval batch size of 32 discards some samples during
validation. For accurate vaidation statistics, launch a dedicated eval job on
validation. For accurate vaidation statistics, launch a dedicated eval job on
...
...
official/vision/beta/projects/deepmac_maskrcnn/configs/experiments/deep_mask_head_rcnn_nonvoc_spinenet143_hg52.yaml
0 → 100644
View file @
a89232d6
# Expect to reach: box mAP: 49.3%, mask mAP: 43.4% on COCO
runtime
:
distribution_strategy
:
'
tpu'
mixed_precision_dtype
:
'
bfloat16'
task
:
allowed_mask_class_ids
:
[
8
,
10
,
11
,
13
,
14
,
15
,
22
,
23
,
24
,
25
,
27
,
28
,
31
,
32
,
33
,
34
,
35
,
36
,
37
,
38
,
39
,
40
,
41
,
42
,
43
,
46
,
47
,
48
,
49
,
50
,
51
,
52
,
53
,
54
,
55
,
56
,
57
,
58
,
59
,
60
,
61
,
65
,
70
,
73
,
74
,
75
,
76
,
77
,
78
,
79
,
80
,
81
,
82
,
84
,
85
,
86
,
87
,
88
,
89
,
90
]
per_category_metrics
:
true
init_checkpoint
:
null
train_data
:
global_batch_size
:
256
parser
:
aug_rand_hflip
:
true
aug_scale_min
:
0.1
aug_scale_max
:
2.0
losses
:
l2_weight_decay
:
0.00004
model
:
mask_head
:
class_agnostic
:
true
convnet_variant
:
'
hourglass52'
num_filters
:
64
mask_roi_aligner
:
crop_size
:
32
use_gt_boxes_for_masks
:
true
anchor
:
anchor_size
:
4.0
num_scales
:
3
min_level
:
3
max_level
:
7
input_size
:
[
1280
,
1280
,
3
]
backbone
:
spinenet
:
stochastic_depth_drop_rate
:
0.2
model_id
:
'
143'
type
:
'
spinenet'
decoder
:
type
:
'
identity'
norm_activation
:
norm_epsilon
:
0.001
norm_momentum
:
0.99
use_sync_bn
:
true
detection_generator
:
pre_nms_top_k
:
1000
trainer
:
train_steps
:
231000
optimizer_config
:
learning_rate
:
type
:
'
stepwise'
stepwise
:
boundaries
:
[
219450
,
226380
]
values
:
[
0.32
,
0.032
,
0.0032
]
warmup
:
type
:
'
linear'
linear
:
warmup_steps
:
2000
warmup_learning_rate
:
0.0067
official/vision/beta/projects/deepmac_maskrcnn/configs/experiments/deep_mask_head_rcnn_voc_spinenet143_hg52.yaml
0 → 100644
View file @
a89232d6
# Expect to reach: box mAP: 49.3%, mask mAP: 43.4% on COCO
runtime
:
distribution_strategy
:
'
tpu'
mixed_precision_dtype
:
'
bfloat16'
task
:
allowed_mask_class_ids
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
9
,
16
,
17
,
18
,
19
,
20
,
21
,
44
,
62
,
63
,
64
,
67
,
72
]
per_category_metrics
:
true
init_checkpoint
:
null
train_data
:
global_batch_size
:
256
parser
:
aug_rand_hflip
:
true
aug_scale_min
:
0.1
aug_scale_max
:
2.0
losses
:
l2_weight_decay
:
0.00004
model
:
mask_head
:
class_agnostic
:
true
convnet_variant
:
'
hourglass52'
num_filters
:
64
mask_roi_aligner
:
crop_size
:
32
use_gt_boxes_for_masks
:
true
anchor
:
anchor_size
:
4.0
num_scales
:
3
min_level
:
3
max_level
:
7
input_size
:
[
1280
,
1280
,
3
]
backbone
:
spinenet
:
stochastic_depth_drop_rate
:
0.2
model_id
:
'
143'
type
:
'
spinenet'
decoder
:
type
:
'
identity'
norm_activation
:
norm_epsilon
:
0.001
norm_momentum
:
0.99
use_sync_bn
:
true
detection_generator
:
pre_nms_top_k
:
1000
trainer
:
train_steps
:
231000
optimizer_config
:
learning_rate
:
type
:
'
stepwise'
stepwise
:
boundaries
:
[
219450
,
226380
]
values
:
[
0.32
,
0.032
,
0.0032
]
warmup
:
type
:
'
linear'
linear
:
warmup_steps
:
2000
warmup_learning_rate
:
0.0067
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