mirror of
https://github.com/fastai/fastbook.git
synced 2025-04-04 18:00:48 +00:00
fix lr syntax
This commit is contained in:
parent
ee0ddf4cdb
commit
57850b0f65
@ -1822,7 +1822,7 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"learn = cnn_learner(dls, resnet34, metrics=error_rate)\n",
|
"learn = cnn_learner(dls, resnet34, metrics=error_rate)\n",
|
||||||
"lr_min,lr_steep = learn.lr_find()"
|
"lr_min,lr_steep = learn.lr_find(suggest_funcs=(minimum, steep))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -510,7 +510,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"learn = cnn_learner(dls, resnet34, metrics=error_rate)\n",
|
"learn = cnn_learner(dls, resnet34, metrics=error_rate)\n",
|
||||||
"lr_min,lr_steep = learn.lr_find()"
|
"lr_min,lr_steep = learn.lr_find(suggest_funcs=(minimum, steep))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user