Merge pull request #146 from zsef123/patch-1

Missin in_chans
pull/147/head
Hugo Touvron 2022-02-04 08:19:48 +01:00 committed by GitHub
commit e9a4a1a848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class ConvStem(nn.Module):
self.num_patches = num_patches
self.proj = torch.nn.Sequential(
conv3x3(3, embed_dim // 8, 2),
conv3x3(in_chans, embed_dim // 8, 2),
nn.GELU(),
conv3x3(embed_dim // 8, embed_dim // 4, 2),
nn.GELU(),