Skip to content

Commit 85aa2a9

Browse files
authored
Merge pull request #84 from ayasyrev/ayasyrev/issue78
Ayasyrev/issue78
2 parents 2016751 + 1cd9864 commit 85aa2a9

15 files changed

+808
-749
lines changed

Nbs/00_ModelConstructor.ipynb

Lines changed: 69 additions & 70 deletions
Large diffs are not rendered by default.

Nbs/01_layers.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
"ConvBnAct(\n",
335335
" (conv): Conv2d(32, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
336336
" (bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)\n",
337-
" (act_fn): LeakyReLU(negative_slope=0.01)\n",
337+
" (act_fn): LeakyReLU(negative_slope=0.01, inplace=True)\n",
338338
")"
339339
]
340340
},
@@ -345,7 +345,7 @@
345345
],
346346
"source": [
347347
"#collapse_output\n",
348-
"conv_layer = ConvBnAct(32, 64, bn_1st=True, act_fn=nn.LeakyReLU())\n",
348+
"conv_layer = ConvBnAct(32, 64, bn_1st=True, act_fn=nn.LeakyReLU)\n",
349349
"conv_layer"
350350
]
351351
},
@@ -423,6 +423,13 @@
423423
"# print_doc(SEModule)"
424424
]
425425
},
426+
{
427+
"cell_type": "code",
428+
"execution_count": null,
429+
"metadata": {},
430+
"outputs": [],
431+
"source": []
432+
},
426433
{
427434
"cell_type": "code",
428435
"execution_count": null,

Nbs/04_YaResNet.ipynb

Lines changed: 78 additions & 67 deletions
Large diffs are not rendered by default.

Nbs/index.ipynb

Lines changed: 100 additions & 106 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)