Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dcuai
dlexamples
Commits
85529f35
Commit
85529f35
authored
Jul 30, 2022
by
unknown
Browse files
添加openmmlab测试用例
parent
b21b0c01
Changes
977
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
195 additions
and
0 deletions
+195
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_caffe_fpn_1x_coco.py
...ian/configs/retinanet/retinanet_r101_caffe_fpn_1x_coco.py
+4
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_fpn_1x_coco.py
...d_xinpian/configs/retinanet/retinanet_r101_fpn_1x_coco.py
+2
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_fpn_2x_coco.py
...d_xinpian/configs/retinanet/retinanet_r101_fpn_2x_coco.py
+2
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_1x_coco.py
...pian/configs/retinanet/retinanet_r50_caffe_fpn_1x_coco.py
+37
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_1x_coco.py
...figs/retinanet/retinanet_r50_caffe_fpn_mstrain_1x_coco.py
+42
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_2x_coco.py
...figs/retinanet/retinanet_r50_caffe_fpn_mstrain_2x_coco.py
+4
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_3x_coco.py
...figs/retinanet/retinanet_r50_caffe_fpn_mstrain_3x_coco.py
+4
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_fpn_1x_coco.py
...ed_xinpian/configs/retinanet/retinanet_r50_fpn_1x_coco.py
+7
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_fpn_2x_coco.py
...ed_xinpian/configs/retinanet/retinanet_r50_fpn_2x_coco.py
+4
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_32x4d_fpn_1x_coco.py
...ian/configs/retinanet/retinanet_x101_32x4d_fpn_1x_coco.py
+13
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_32x4d_fpn_2x_coco.py
...ian/configs/retinanet/retinanet_x101_32x4d_fpn_2x_coco.py
+13
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_64x4d_fpn_1x_coco.py
...ian/configs/retinanet/retinanet_x101_64x4d_fpn_1x_coco.py
+13
-0
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_64x4d_fpn_2x_coco.py
...ian/configs/retinanet/retinanet_x101_64x4d_fpn_2x_coco.py
+13
-0
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/README.md
...mlab_test/mmdetection-speed_xinpian/configs/rpn/README.md
+29
-0
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_caffe_fpn_1x_coco.py
...n-speed_xinpian/configs/rpn/rpn_r101_caffe_fpn_1x_coco.py
+4
-0
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_fpn_1x_coco.py
...tection-speed_xinpian/configs/rpn/rpn_r101_fpn_1x_coco.py
+2
-0
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_fpn_2x_coco.py
...tection-speed_xinpian/configs/rpn/rpn_r101_fpn_2x_coco.py
+2
-0
No files found.
Too many changes to show.
To preserve performance only
977 of 977+
files are displayed.
Plain diff
Email patch
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_caffe_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_caffe_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://detectron2/resnet101_caffe'
,
backbone
=
dict
(
depth
=
101
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'torchvision://resnet101'
,
backbone
=
dict
(
depth
=
101
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r101_fpn_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_2x_coco.py'
model
=
dict
(
pretrained
=
'torchvision://resnet101'
,
backbone
=
dict
(
depth
=
101
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://detectron2/resnet50_caffe'
,
backbone
=
dict
(
norm_cfg
=
dict
(
requires_grad
=
False
),
norm_eval
=
True
,
style
=
'caffe'
))
# use caffe img_norm
img_norm_cfg
=
dict
(
mean
=
[
103.530
,
116.280
,
123.675
],
std
=
[
1.0
,
1.0
,
1.0
],
to_rgb
=
False
)
train_pipeline
=
[
dict
(
type
=
'LoadImageFromWebcam'
),
dict
(
type
=
'LoadAnnotations'
,
with_bbox
=
True
),
dict
(
type
=
'Resize'
,
img_scale
=
(
1333
,
800
),
keep_ratio
=
True
),
dict
(
type
=
'RandomFlip'
,
flip_ratio
=
0.5
),
dict
(
type
=
'Normalize'
,
**
img_norm_cfg
),
dict
(
type
=
'Pad'
,
size_divisor
=
32
),
dict
(
type
=
'DefaultFormatBundle'
),
dict
(
type
=
'Collect'
,
keys
=
[
'img'
,
'gt_bboxes'
,
'gt_labels'
]),
]
test_pipeline
=
[
dict
(
type
=
'LoadImageFromWebcam'
),
dict
(
type
=
'MultiScaleFlipAug'
,
img_scale
=
(
1333
,
800
),
flip
=
False
,
transforms
=
[
dict
(
type
=
'Resize'
,
keep_ratio
=
True
),
dict
(
type
=
'RandomFlip'
),
dict
(
type
=
'Normalize'
,
**
img_norm_cfg
),
dict
(
type
=
'Pad'
,
size_divisor
=
32
),
dict
(
type
=
'ImageToTensor'
,
keys
=
[
'img'
]),
dict
(
type
=
'Collect'
,
keys
=
[
'img'
]),
])
]
data
=
dict
(
train
=
dict
(
pipeline
=
train_pipeline
),
val
=
dict
(
pipeline
=
test_pipeline
),
test
=
dict
(
pipeline
=
test_pipeline
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://detectron2/resnet50_caffe'
,
backbone
=
dict
(
norm_cfg
=
dict
(
requires_grad
=
False
),
norm_eval
=
True
,
style
=
'caffe'
))
# use caffe img_norm
img_norm_cfg
=
dict
(
mean
=
[
103.530
,
116.280
,
123.675
],
std
=
[
1.0
,
1.0
,
1.0
],
to_rgb
=
False
)
train_pipeline
=
[
dict
(
type
=
'LoadImageFromFile'
),
dict
(
type
=
'LoadAnnotations'
,
with_bbox
=
True
),
dict
(
type
=
'Resize'
,
img_scale
=
[(
1333
,
640
),
(
1333
,
672
),
(
1333
,
704
),
(
1333
,
736
),
(
1333
,
768
),
(
1333
,
800
)],
multiscale_mode
=
'value'
,
keep_ratio
=
True
),
dict
(
type
=
'RandomFlip'
,
flip_ratio
=
0.5
),
dict
(
type
=
'Normalize'
,
**
img_norm_cfg
),
dict
(
type
=
'Pad'
,
size_divisor
=
32
),
dict
(
type
=
'DefaultFormatBundle'
),
dict
(
type
=
'Collect'
,
keys
=
[
'img'
,
'gt_bboxes'
,
'gt_labels'
]),
]
test_pipeline
=
[
dict
(
type
=
'LoadImageFromFile'
),
dict
(
type
=
'MultiScaleFlipAug'
,
img_scale
=
(
1333
,
800
),
flip
=
False
,
transforms
=
[
dict
(
type
=
'Resize'
,
keep_ratio
=
True
),
dict
(
type
=
'RandomFlip'
),
dict
(
type
=
'Normalize'
,
**
img_norm_cfg
),
dict
(
type
=
'Pad'
,
size_divisor
=
32
),
dict
(
type
=
'ImageToTensor'
,
keys
=
[
'img'
]),
dict
(
type
=
'Collect'
,
keys
=
[
'img'
]),
])
]
data
=
dict
(
train
=
dict
(
pipeline
=
train_pipeline
),
val
=
dict
(
pipeline
=
test_pipeline
),
test
=
dict
(
pipeline
=
test_pipeline
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_caffe_fpn_mstrain_1x_coco.py'
# learning policy
lr_config
=
dict
(
step
=
[
16
,
23
])
runner
=
dict
(
type
=
'EpochBasedRunner'
,
max_epochs
=
24
)
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_caffe_fpn_mstrain_3x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_caffe_fpn_mstrain_1x_coco.py'
# learning policy
lr_config
=
dict
(
step
=
[
28
,
34
])
runner
=
dict
(
type
=
'EpochBasedRunner'
,
max_epochs
=
36
)
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
[
'../_base_/models/retinanet_r50_fpn.py'
,
'../_base_/datasets/coco_detection.py'
,
'../_base_/schedules/schedule_1x.py'
,
'../_base_/default_runtime.py'
]
# optimizer
optimizer
=
dict
(
type
=
'SGD'
,
lr
=
0.01
,
momentum
=
0.9
,
weight_decay
=
0.0001
)
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_r50_fpn_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
# learning policy
lr_config
=
dict
(
step
=
[
16
,
22
])
runner
=
dict
(
type
=
'EpochBasedRunner'
,
max_epochs
=
24
)
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_32x4d_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://resnext101_32x4d'
,
backbone
=
dict
(
type
=
'ResNeXt'
,
depth
=
101
,
groups
=
32
,
base_width
=
4
,
num_stages
=
4
,
out_indices
=
(
0
,
1
,
2
,
3
),
frozen_stages
=
1
,
norm_cfg
=
dict
(
type
=
'BN'
,
requires_grad
=
True
),
style
=
'pytorch'
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_32x4d_fpn_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_2x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://resnext101_32x4d'
,
backbone
=
dict
(
type
=
'ResNeXt'
,
depth
=
101
,
groups
=
32
,
base_width
=
4
,
num_stages
=
4
,
out_indices
=
(
0
,
1
,
2
,
3
),
frozen_stages
=
1
,
norm_cfg
=
dict
(
type
=
'BN'
,
requires_grad
=
True
),
style
=
'pytorch'
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_64x4d_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://resnext101_64x4d'
,
backbone
=
dict
(
type
=
'ResNeXt'
,
depth
=
101
,
groups
=
64
,
base_width
=
4
,
num_stages
=
4
,
out_indices
=
(
0
,
1
,
2
,
3
),
frozen_stages
=
1
,
norm_cfg
=
dict
(
type
=
'BN'
,
requires_grad
=
True
),
style
=
'pytorch'
))
openmmlab_test/mmdetection-speed_xinpian/configs/retinanet/retinanet_x101_64x4d_fpn_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./retinanet_r50_fpn_2x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://resnext101_64x4d'
,
backbone
=
dict
(
type
=
'ResNeXt'
,
depth
=
101
,
groups
=
64
,
base_width
=
4
,
num_stages
=
4
,
out_indices
=
(
0
,
1
,
2
,
3
),
frozen_stages
=
1
,
norm_cfg
=
dict
(
type
=
'BN'
,
requires_grad
=
True
),
style
=
'pytorch'
))
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/README.md
0 → 100644
View file @
85529f35
# Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
## Introduction
<!-- [ALGORITHM] -->
```
latex
@inproceedings
{
ren2015faster,
title=
{
Faster r-cnn: Towards real-time object detection with region proposal networks
}
,
author=
{
Ren, Shaoqing and He, Kaiming and Girshick, Ross and Sun, Jian
}
,
booktitle=
{
Advances in neural information processing systems
}
,
year=
{
2015
}
}
```
## Results and models
| Backbone | Style | Lr schd | Mem (GB) | Inf time (fps) | AR1000 | Config | Download |
| :-------------: | :-----: | :-----: | :------: | :------------: | :----: | :------: | :--------: |
| R-50-FPN | caffe | 1x | 3.5 | 22.6 | 58.7 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r50_caffe_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_caffe_fpn_1x_coco/rpn_r50_caffe_fpn_1x_coco_20200531-5b903a37.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_caffe_fpn_1x_coco/rpn_r50_caffe_fpn_1x_coco_20200531_012334.log.json
)
|
| R-50-FPN | pytorch | 1x | 3.8 | 22.3 | 58.2 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r50_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_fpn_1x_coco/rpn_r50_fpn_1x_coco_20200218-5525fa2e.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_fpn_1x_coco/rpn_r50_fpn_1x_coco_20200218_151240.log.json
)
|
| R-50-FPN | pytorch | 2x | - | - | 58.6 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r50_fpn_2x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_fpn_2x_coco/rpn_r50_fpn_2x_coco_20200131-0728c9b3.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r50_fpn_2x_coco/rpn_r50_fpn_2x_coco_20200131_190631.log.json
)
|
| R-101-FPN | caffe | 1x | 5.4 | 17.3 | 60.0 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r101_caffe_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_caffe_fpn_1x_coco/rpn_r101_caffe_fpn_1x_coco_20200531-0629a2e2.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_caffe_fpn_1x_coco/rpn_r101_caffe_fpn_1x_coco_20200531_012345.log.json
)
|
| R-101-FPN | pytorch | 1x | 5.8 | 16.5 | 59.7 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r101_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_fpn_1x_coco/rpn_r101_fpn_1x_coco_20200131-2ace2249.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_fpn_1x_coco/rpn_r101_fpn_1x_coco_20200131_191000.log.json
)
|
| R-101-FPN | pytorch | 2x | - | - | 60.2 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_r101_fpn_2x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_fpn_2x_coco/rpn_r101_fpn_2x_coco_20200131-24e3db1a.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_r101_fpn_2x_coco/rpn_r101_fpn_2x_coco_20200131_191106.log.json
)
|
| X-101-32x4d-FPN | pytorch | 1x | 7.0 | 13.0 | 60.6 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_x101_32x4d_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_32x4d_fpn_1x_coco/rpn_x101_32x4d_fpn_1x_coco_20200219-b02646c6.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_32x4d_fpn_1x_coco/rpn_x101_32x4d_fpn_1x_coco_20200219_012037.log.json
)
|
| X-101-32x4d-FPN | pytorch | 2x | - | - | 61.1 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_x101_32x4d_fpn_2x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_32x4d_fpn_2x_coco/rpn_x101_32x4d_fpn_2x_coco_20200208-d22bd0bb.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_32x4d_fpn_2x_coco/rpn_x101_32x4d_fpn_2x_coco_20200208_200752.log.json
)
|
| X-101-64x4d-FPN | pytorch | 1x | 10.1 | 9.1 | 61.0 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_x101_64x4d_fpn_1x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_64x4d_fpn_1x_coco/rpn_x101_64x4d_fpn_1x_coco_20200208-cde6f7dd.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_64x4d_fpn_1x_coco/rpn_x101_64x4d_fpn_1x_coco_20200208_200752.log.json
)
|
| X-101-64x4d-FPN | pytorch | 2x | - | - | 61.5 |
[
config
](
https://github.com/open-mmlab/mmdetection/tree/master/configs/rpn/rpn_x101_64x4d_fpn_2x_coco.py
)
|
[
model
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_64x4d_fpn_2x_coco/rpn_x101_64x4d_fpn_2x_coco_20200208-c65f524f.pth
)
|
[
log
](
https://download.openmmlab.com/mmdetection/v2.0/rpn/rpn_x101_64x4d_fpn_2x_coco/rpn_x101_64x4d_fpn_2x_coco_20200208_200752.log.json
)
|
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_caffe_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./rpn_r50_caffe_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'open-mmlab://detectron2/resnet101_caffe'
,
backbone
=
dict
(
depth
=
101
))
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_fpn_1x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./rpn_r50_fpn_1x_coco.py'
model
=
dict
(
pretrained
=
'torchvision://resnet101'
,
backbone
=
dict
(
depth
=
101
))
openmmlab_test/mmdetection-speed_xinpian/configs/rpn/rpn_r101_fpn_2x_coco.py
0 → 100644
View file @
85529f35
_base_
=
'./rpn_r50_fpn_2x_coco.py'
model
=
dict
(
pretrained
=
'torchvision://resnet101'
,
backbone
=
dict
(
depth
=
101
))
Prev
1
…
45
46
47
48
49
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