Spaces:
Runtime error
Runtime error
File size: 679 Bytes
3b96cb1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Copyright (c) OpenMMLab. All rights reserved.
# Please refer to https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#a-pure-python-style-configuration-file-beta for more details. # noqa
# mmcv >= 2.0.1
# mmengine >= 0.8.0
from mmengine.config import read_base
with read_base():
from .._base_.models.retinanet_r50_fpn import *
from .._base_.datasets.coco_detection import *
from .._base_.schedules.schedule_1x import *
from .._base_.default_runtime import *
from .retinanet_tta import *
from torch.optim.sgd import SGD
# optimizer
optim_wrapper.update(
dict(optimizer=dict(type=SGD, lr=0.01, momentum=0.9, weight_decay=0.0001)))
|