Skip to content

Commit

Permalink
hb
Browse files Browse the repository at this point in the history
  • Loading branch information
MLRichter committed May 2, 2022
1 parent 63ed330 commit d022015
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions models/efficientnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,22 @@ def efficientnet_b0(*args, **kwargs):
model.num_classes = ...
return model


@register_model
def efficientnet_b1(*args, **kwargs):
model = _efficientnet_b0(**kwargs)
model.name = "EfficentNetB1"
model.num_classes = ...
return model


@register_model
def efficientnet_b2(*args, **kwargs):
model = _efficientnet_b0(**kwargs)
model.name = "EfficentNetB2"
model.num_classes = ...
return model

@register_model
def efficientnet_b0_eff(*args, **kwargs):
bneck_conf = partial(MBConvConfig, width_mult=1.0, depth_mult=1.0)
Expand Down

0 comments on commit d022015

Please sign in to comment.