Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ line_length = 79
multi_line_output = 0
known_standard_library = setuptools
known_first_party = mmdet
known_third_party = Cython,albumentations,asynctest,cv2,imagecorruptions,matplotlib,mmcv,numpy,pycocotools,robustness_eval,roi_align,roi_pool,seaborn,six,terminaltables,torch,torchvision
known_third_party = Cython,asynctest,cv2,matplotlib,mmcv,numpy,pycocotools,robustness_eval,roi_align,roi_pool,seaborn,six,terminaltables,torch,torchvision
no_lines_before = STDLIB,LOCALFOLDER
default_section = THIRDPARTY
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ install:
before_script:
- flake8 .
- isort -rc --check-only --diff mmdet/ tools/ tests/
- yapf -r -d --style .style.yapf mmdet/ tools/ tests/
- yapf -r -d --style .style.yapf mmdet/ tools/ tests/ configs/

script:
- python setup.py check -m -s
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/cascade_mask_rcnn_dconv_c3-c5_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/cascade_rcnn_dconv_c3-c5_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/faster_rcnn_dconv_c3-c5_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
5 changes: 1 addition & 4 deletions configs/dcn/faster_rcnn_dconv_c3-c5_x101_32x4d_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCN',
deformable_groups=1,
fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/faster_rcnn_mdconv_c3-c5_group4_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCNv2', deformable_groups=4, fallback_on_stride=False),
dcn=dict(type='DCNv2', deformable_groups=4, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/faster_rcnn_mdconv_c3-c5_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCNv2', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCNv2', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
3 changes: 1 addition & 2 deletions configs/dcn/mask_rcnn_dconv_c3-c5_r50_fpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch',
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True)),
neck=dict(
type='FPN',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
gen_attention=dict(
spatial_range=-1, num_heads=8, attention_type='0010', kv_stride=2),
stage_with_gen_attention=[[], [], [0, 1, 2, 3, 4, 5], [0, 1, 2]],
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True),
),
neck=dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
gen_attention=dict(
spatial_range=-1, num_heads=8, attention_type='1111', kv_stride=2),
stage_with_gen_attention=[[], [], [0, 1, 2, 3, 4, 5], [0, 1, 2]],
dcn=dict(
type='DCN', deformable_groups=1, fallback_on_stride=False),
dcn=dict(type='DCN', deformable_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True),
),
neck=dict(
Expand Down