Chapter 5 Learning rate finder didn't work for me

Hello all, lr_find() on the notebook returns an error for me.
here is the cell content:

lr_min,lr_steep = learn.lr_find()
lr= learn.lr_find()

and here is the error:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-59-29cf8bb251c9> in <module>
----> 1 lr_min,lr_steep = learn.lr_find()
      2 
      3 lr= learn.lr_find()

ValueError: not enough values to unpack (expected 2, got 1)

It is obvious that it returns only one value but in the notebook, we ask for more than one. Is there an implementation change or something? Or maybe I made a mistake (Iā€™m working on my local machine, not on Colab)

In the reading session today Aman used slightly a diffent version I guess.
Thanks for your help.

OOPS, it is already asked and answered here.

1 Like