Skip to content

Commit

Permalink
orig_patch_image_size bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
logicwong committed Jul 29, 2022
1 parent b8c93fd commit f4beec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/ofa/ofa.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ def ofa_large_architecture(args):
args.scale_heads = getattr(args, "scale_heads", False)
args.scale_resids = getattr(args, "scale_resids", False)

args.orig_patch_image_size = getattr(args, "orig_patch_image_size", 256)


@register_model_architecture("ofa", "ofa_base")
def ofa_base_architecture(args):
Expand Down

0 comments on commit f4beec5

Please sign in to comment.