model = dict(type='CustomModel', in_channels=[1, 2, 3]) optimizer = dict(type='SGD', lr=0.01)