fix lr syntax

This commit is contained in:
hamelsmu 2022-03-05 18:16:50 -08:00
parent ee0ddf4cdb
commit 57850b0f65
2 changed files with 2 additions and 2 deletions

View File

@ -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))"
] ]
}, },
{ {

View File

@ -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))"
] ]
}, },
{ {