You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ie simplified version from fastai v1. I did refactoring for better understand and experiment with models. For example, it's very simple to change activation funtions, different stems, batchnorm and activation order etc. In v2 much powerfull realisation.
95
-
<divclass="codecell"markdown="1">
96
-
<divclass="input_area"markdown="1">
97
48
98
49
```python
99
50
from model_constructor.xresnet import*
100
51
```
101
52
102
-
</div>
103
-
104
-
</div>
105
-
<divclass="codecell"markdown="1">
106
-
<divclass="input_area"markdown="1">
107
-
108
53
```python
109
54
model = xresnet50()
110
55
```
111
56
112
-
</div>
113
-
114
-
</div>
115
-
116
57
# Some examples.
117
58
118
59
We can experiment with models by changing some parts of model. Here only base functionality, but it can be easily extanded.
@@ -123,26 +64,15 @@ Here is some examples:
123
64
## Custom stem
124
65
125
66
Stem with 3 conv layers
126
-
<divclass="codecell"markdown="1">
127
-
<divclass="input_area"markdown="1">
128
67
129
68
```python
130
69
model = Net(stem=partial(Stem, stem_sizes=[32, 32]))
0 commit comments