forked from open-mmlab/mmyolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtmdet-r_m_syncbn_fast_2xb4-36e_dota-ms.py
33 lines (28 loc) · 1.25 KB
/
rtmdet-r_m_syncbn_fast_2xb4-36e_dota-ms.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
_base_ = './rtmdet-r_l_syncbn_fast_2xb4-36e_dota-ms.py'
checkpoint = 'https://download.openmmlab.com/mmdetection/v3.0/rtmdet/cspnext_rsb_pretrain/cspnext-m_8xb256-rsb-a1-600e_in1k-ecb3bbd9.pth' # noqa
# ========================modified parameters======================
deepen_factor = 0.67
widen_factor = 0.75
# Submission dir for result submit
submission_dir = './work_dirs/{{fileBasenameNoExtension}}/submission'
# =======================Unmodified in most cases==================
model = dict(
backbone=dict(
deepen_factor=deepen_factor,
widen_factor=widen_factor,
init_cfg=dict(checkpoint=checkpoint)),
neck=dict(deepen_factor=deepen_factor, widen_factor=widen_factor),
bbox_head=dict(head_module=dict(widen_factor=widen_factor)))
# Inference on test dataset and format the output results
# for submission. Note: the test set has no annotation.
# test_dataloader = dict(
# dataset=dict(
# data_root=_base_.data_root,
# ann_file='', # test set has no annotation
# data_prefix=dict(img_path=_base_.test_data_prefix),
# pipeline=_base_.test_pipeline))
# test_evaluator = dict(
# type='mmrotate.DOTAMetric',
# format_only=True,
# merge_patches=True,
# outfile_prefix=submission_dir)