repvgg_b0#

holocron.models.repvgg_b0(pretrained: bool = False, checkpoint: Checkpoint | None = None, progress: bool = True, **kwargs: Any) RepVGG[source]#

RepVGG-B0 from “RepVGG: Making VGG-style ConvNets Great Again”

Parameters:
  • pretrained – If True, returns a model pre-trained on ImageNette

  • checkpoint – If specified, the model’s parameters will be set to the checkpoint’s values

  • progress – If True, displays a progress bar of the download to stderr

  • kwargs – keyword args of _repvgg

Returns:

classification model

Return type:

torch.nn.Module

class holocron.models.RepVGG_B0_Checkpoint(value)[source]#

The model builder above accepts the following values as the checkpoint parameter. RepVGG_B0_Checkpoint.DEFAULT is equivalent to RepVGG_B0_Checkpoint.IMAGENETTE

RepVGG_B0_Checkpoint.IMAGENETTE:

Also available as RepVGG_B0_Checkpoint.DEFAULT.

dataset

imagenette

top1-accuracy

0.9269

top5-accuracy

0.9921

url

link

sha256

fdcdd2b739f19b47

size

121.8MB

num_params

31.8M

categories

tench, English springer, cassette player, … (7 omitted)

input_shape

(3, 224, 224)

mean

(0.485, 0.456, 0.406)

std

(0.229, 0.224, 0.225)

interpolation

InterpolationMode.BILINEAR

commit

d4a5999