Skip to content
Discussion options

You must be logged in to vote

MobileNetV4 variants are implemented within the mobilenetv3.py file.

def _gen_mobilenet_v4(
variant: str,
channel_multiplier: float = 1.0,
group_size: Optional[int] = None,
pretrained: bool = False,
**kwargs,
) -> MobileNetV3:
"""Creates a MobileNet-V4 model.
Paper: https://arxiv.org/abs/2404.10518
Args:
variant: Model variant name.
channel_multiplier: Multiplier to number of channels per layer.
group_size: Group size for grouped convolutions.
pretrained: Load pretrained weights.
**kwargs: Additional model arguments.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rwightman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants