Skip to content

Commit 57c89ca

Browse files
committed
fix stem_size
1 parent c6d4a42 commit 57c89ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model_constructor/yaresnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor: # type: ignore
204204

205205
class YaResNet(ModelConstructor):
206206
make_stem: Callable[[ModelCfg], Union[nn.Module, nn.Sequential]] = xresnet_stem
207-
stem_sizes: list[int] = [3, 32, 64, 64]
207+
stem_sizes: list[int] = [32, 64, 64]
208208
block: type[nn.Module] = YaBasicBlock
209209
act_fn: type[nn.Module] = nn.Mish
210210
pool: Optional[Callable[[Any], nn.Module]] = partial(

0 commit comments

Comments
 (0)