3dtest / configs /nuimages /mask-rcnn_r50_fpn_coco-2x_1x_nus-2d.py
giantmonkeyTC
mm2
c2ca15f
raw
history blame
969 Bytes
_base_ = [
'../_base_/models/mask-rcnn_r50_fpn.py',
'../_base_/datasets/nuim-instance.py',
'../_base_/schedules/mmdet-schedule-1x.py', '../_base_/default_runtime.py'
]
model = dict(
roi_head=dict(
bbox_head=dict(num_classes=10), mask_head=dict(num_classes=10)))
backend_args = None
test_pipeline = [
dict(type='LoadImageFromFile', backend_args=backend_args),
dict(
type='MultiScaleFlipAug',
img_scale=(1600, 900),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
]),
dict(
type='PackDetInputs',
meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape',
'scale_factor')),
]
data_root = 'data/nuimages/'
# data = dict(
# val=dict(
# ann_file=data_root + 'annotations/nuimages_v1.0-mini.json'),
# test=dict(
# ann_file=data_root + 'annotations/nuimages_v1.0-mini.json'))