Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 22, 2020 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/bf2470e6a1aa284b7342ce82d611c0bf to your computer and use it in GitHub Desktop.
Save amankharwal/bf2470e6a1aa284b7342ce82d611c0bf to your computer and use it in GitHub Desktop.
lr1 = 1e-3
lr2 = 1e-1
learn.fit_one_cycle(4,slice(lr1,lr2))
# lr1 = 1e-3
lr = 1e-1
learn.fit_one_cycle(20,slice(lr))
learn.unfreeze()
learn.lr_find()
learn.recorder.plot()
learn.fit_one_cycle(10,slice(1e-4,1e-3))
learn.recorder.plot_losses()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment