We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ff3899 commit 0c136f7Copy full SHA for 0c136f7
timm/layers/patch_embed.py
@@ -31,7 +31,7 @@ class PatchEmbed(nn.Module):
31
32
def __init__(
33
self,
34
- img_size: Optional[int] = 224,
+ img_size: Union[int, Tuple[int, int]] = 224,
35
patch_size: int = 16,
36
in_chans: int = 3,
37
embed_dim: int = 768,
0 commit comments