mmagic.models.editors.global_local.gl_dilation
¶
Module Contents¶
Classes¶
Dilation Backbone used in Global&Local model. |
- class mmagic.models.editors.global_local.gl_dilation.GLDilationNeck(in_channels=256, conv_type='conv', norm_cfg=None, act_cfg=dict(type='ReLU'), **kwargs)[source]¶
Bases:
mmengine.model.BaseModule
Dilation Backbone used in Global&Local model.
This implementation follows: Globally and locally Consistent Image Completion
- Parameters
in_channels (int) – Channel number of input feature.
conv_type (str) – The type of conv module. In DeepFillv1 model, the conv_type should be ‘conv’. In DeepFillv2 model, the conv_type should be ‘gated_conv’.
norm_cfg (dict) – Config dict to build norm layer.
act_cfg (dict) – Config dict for activation layer, “relu” by default.
kwargs (keyword arguments) –