_base_ = ['../_base_/models/deeplabv3plus_r50-d8.py', '../_base_/datasets/publicdataset_endovis_2017.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_300e_val1_check10.py']

norm_cfg = {'type': 'BN'}

crop_size = (512, 512)

data_preprocessor = {'size': (512, 512), 'mean': [122.21429912990676, 77.0821859677977, 87.03836664626716], 'std': [50.53335800365262, 42.895340354037465, 47.739426483390446], 'bgr_to_rgb': False}

model = {'pretrained': './My_Local_Model/open_mmlab/resnet18_v1c.pth', 'backbone': {'depth': 18, 'type': 'ResNetV1c'}, 'data_preprocessor': {'size': (512, 512), 'mean': [122.21429912990676, 77.0821859677977, 87.03836664626716], 'std': [50.53335800365262, 42.895340354037465, 47.739426483390446], 'bgr_to_rgb': False}, 'decode_head': {'c1_in_channels': 64, 'c1_channels': 12, 'in_channels': 512, 'channels': 128, 'num_classes': 8, 'loss_decode': {'type': 'DiceLoss', 'use_sigmoid': False, 'loss_weight': 1.0}, 'align_corners': False, 'norm_cfg': {'type': 'BN'}}, 'auxiliary_head': {'in_channels': 256, 'channels': 64, 'num_classes': 8, 'loss_decode': {'type': 'DiceLoss', 'use_sigmoid': False, 'loss_weight': 1.0}, 'align_corners': False, 'norm_cfg': {'type': 'BN'}}}

test_cfg = {'crop_size': (512, 512)}

optim_wrapper = {'type': 'OptimWrapper', '_delete_': True, 'optimizer': {'type': 'AdamW', 'lr': 0.0001, 'weight_decay': 0.0005}, 'clip_grad': {'max_norm': 1, 'norm_type': 2}}

param_scheduler = [{'type': 'LinearLR', 'start_factor': 1e-06, 'by_epoch': True, 'begin': 0, 'end': 10}, {'type': 'PolyLR', 'power': 0.9, 'begin': 10, 'end': 300, 'eta_min': 1e-05, 'by_epoch': True}]

vis_backends = [{'type': 'LocalVisBackend'}, {'type': 'TensorboardVisBackend'}, {'type': 'WandbVisBackend', 'init_kwargs': {'project': 'Seg_MMSeg_Test', 'name': 'my_deeplabv3plus_r50_r18_Pre_g1-300e_val1_check10_publicdataset_endovis_2017-512x512-no_testslide'}}]

visualizer = {'name': 'visualizer', 'type': 'SegLocalVisualizer', 'vis_backends': [{'type': 'LocalVisBackend'}, {'type': 'TensorboardVisBackend'}, {'type': 'WandbVisBackend', 'init_kwargs': {'project': 'Seg_MMSeg_Test', 'name': 'my_deeplabv3plus_r50_r18_Pre_g1-300e_val1_check10_publicdataset_endovis_2017-512x512-no_testslide'}}]}

