mirror of https://github.com/facebookresearch/deit
commit
e9a4a1a848
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue