From 57850b0f65a0037f95d5f8afe29bb4a88f6f9364 Mon Sep 17 00:00:00 2001 From: hamelsmu Date: Sat, 5 Mar 2022 18:16:50 -0800 Subject: [PATCH] fix lr syntax --- 05_pet_breeds.ipynb | 2 +- clean/05_pet_breeds.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/05_pet_breeds.ipynb b/05_pet_breeds.ipynb index a16f7a7..be6dfb1 100644 --- a/05_pet_breeds.ipynb +++ b/05_pet_breeds.ipynb @@ -1822,7 +1822,7 @@ ], "source": [ "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))" ] }, { diff --git a/clean/05_pet_breeds.ipynb b/clean/05_pet_breeds.ipynb index 3272b76..d4a85b4 100644 --- a/clean/05_pet_breeds.ipynb +++ b/clean/05_pet_breeds.ipynb @@ -510,7 +510,7 @@ "outputs": [], "source": [ "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))" ] }, {