Skip to content

Instantly share code, notes, and snippets.

@ronykroy
Last active October 22, 2019 09:55
Show Gist options
  • Save ronykroy/088dc47e268ef259f1b18baf48eb2a85 to your computer and use it in GitHub Desktop.
Save ronykroy/088dc47e268ef259f1b18baf48eb2a85 to your computer and use it in GitHub Desktop.
learn.unfreeze() # unfreeze all layers to compete the training of full model
learn.fit_one_cycle(10, 1e-3, moms=(0.8,0.7)) # do a full 10 epochs this time around
learn.save_encoder('fine_tuned_enc') # we need the encoder in particular..FOr classifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment