mirror of
https://github.com/fastai/fastbook.git
synced 2025-04-05 02:10:48 +00:00
NB 15: Use resnet34()
to instantiate model
This commit is contained in:
parent
f01550093e
commit
66d9beec8c
@ -343,7 +343,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"encoder = create_body(resnet34, cut=-2)"
|
||||
"encoder = create_body(resnet34(), cut=-2)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -147,7 +147,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"encoder = create_body(resnet34, cut=-2)"
|
||||
"encoder = create_body(resnet34(), cut=-2)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user