reference
- https://github.com/PaddlePaddle/PaddleDetection/blob/develop/ppdet/modeling/backbones/hgnet_v2.py
Copyright (c) 2024 The D-FINE Authors. All Rights Reserved.
HGNetV2
Args:
stem_channels: list. Number of channels for the stem block.
stage_type: str. The stage configuration of HGNet. such as the number of channels, stride, etc.
use_lab: boolean. Whether to use LearnableAffineBlock in network.
lr_mult_list: list. Control the learning rate of different stages.
Returns:
model: nn.Layer. Specific HGNetV2 model depends on args.