Skip to content

Commit 89ba107

Browse files
author
ayasyrev
committed
fixeg expansion at xresnet 34
1 parent 1b947b8 commit 89ba107

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

model_constructor/_nbdev.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"Body": "00_constructor.ipynb",
88
"Head": "00_constructor.ipynb",
99
"init_model": "00_constructor.ipynb",
10-
"Net": "04_Net.ipynb",
10+
"Net": "81_Net.ipynb",
1111
"ConvLayer": "01_layers.ipynb",
12-
"act_fn": "04_Net.ipynb",
12+
"act_fn": "81_Net.ipynb",
1313
"Flatten": "01_layers.ipynb",
1414
"noop": "01_layers.ipynb",
1515
"Noop": "01_layers.ipynb",
@@ -22,7 +22,7 @@
2222
"SimpleSelfAttention": "01_layers.ipynb",
2323
"ConvBlockBasic": "01_layers.ipynb",
2424
"ConvBlockBottle": "01_layers.ipynb",
25-
"ResBlock": "04_Net.ipynb",
25+
"ResBlock": "81_Net.ipynb",
2626
"resnet18": "02_resnet.ipynb",
2727
"resnet34": "02_resnet.ipynb",
2828
"resnet50": "02_resnet.ipynb",
@@ -38,7 +38,8 @@
3838
"layers.py",
3939
"resnet.py",
4040
"xresnet.py",
41-
"net.py"]
41+
"net.py",
42+
"tst_net_2.py"]
4243

4344
doc_url = "https://ayasyrev.github.io/model_constructor/"
4445

model_constructor/net.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,5 @@ def __repr__(self):
152152
[ 152, 4, [3,8,36,3] ],]:
153153
name = f'net{n}'
154154
setattr(me, name, partial(Net, expansion=e, layers=l, name=name))
155-
xresnet34 = partial(Net, expansion=4, layers=[3, 4, 6, 3], name='xresnet50')
155+
xresnet34 = partial(Net, expansion=1, layers=[3, 4, 6, 3], name='xresnet34')
156156
xresnet50 = partial(Net, expansion=4, layers=[3, 4, 6, 3], name='xresnet50')

0 commit comments

Comments
 (0)