{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Classes for callback implementors" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import *\n", "from fastai.callback import * \n", "from fastai import *" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "fastai provides a powerful *callback* system, which is documented on the [`callbacks`](/callbacks.html#callbacks) page; look on that page if you're just looking for how to use existing callbacks. If you want to create your own, you'll need to use the classes discussed below.\n", "\n", "A key motivation for the callback system is that additional functionality can be entirely implemented in a single callback, so that it's easily read. By using this trick, we will have different methods categorized in different callbacks where we will find clearly stated all the interventions the method makes in training. For instance in the [`LRFinder`](/callbacks.lr_finder.html#LRFinder) callback, on top of running the fit function with exponentially growing LRs, it needs to handle some preparation and clean-up, and all this code can be in the same callback so we know exactly what it is doing and where to look if we need to change something.\n", "\n", "In addition, it allows our [`fit`](/basic_train.html#fit) function to be very clean and simple, yet still easily extended. So far in implementing a number of recent papers, we haven't yet come across any situation where we had to modify our training loop source code - we've been able to use callbacks every time." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class Callback[source]

\n", "\n", "> Callback()\n", "\n", "Base class for callbacks that want to record values, dynamically change learner params, etc. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "To create a new type of callback, you'll need to inherit from this class, and implement one or more methods as required for your purposes. Perhaps the easiest way to get started is to look at the source code for some of the pre-defined fastai callbacks. You might be surprised at how simple they are! For instance, here is the **entire** source code for [`GradientClipping`](/train.html#GradientClipping):\n", "\n", "```python\n", "@dataclass\n", "class GradientClipping(LearnerCallback):\n", " clip:float\n", " def on_backward_end(self, **kwargs):\n", " if self.clip:\n", " nn.utils.clip_grad_norm_(self.learn.model.parameters(), self.clip)\n", "```" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You generally want your custom callback constructor to take a [`Learner`](/basic_train.html#Learner) parameter, e.g.:\n", "\n", "```python\n", "@dataclass\n", "class MyCallback(Callback):\n", " learn:Learner\n", "```\n", "\n", "Note that this allows the callback user to just pass your callback name to `callback_fns` when constructing their [`Learner`](/basic_train.html#Learner), since that always passes `self` when constructing callbacks from `callback_fns`. In addition, by passing the learner, this callback will have access to everything: e.g all the inputs/outputs as they are calculated, the losses, and also the data loaders, the optimizer, etc. At any time:\n", "- Changing self.learn.data.train_dl or self.data.valid_dl will change them inside the fit function (we just need to pass the [`DataBunch`](/basic_data.html#DataBunch) object to the fit function and not data.train_dl/data.valid_dl)\n", "- Changing self.learn.opt.opt (We have an [`OptimWrapper`](/callback.html#OptimWrapper) on top of the actual optimizer) will change it inside the fit function.\n", "- Changing self.learn.data or self.learn.opt directly WILL NOT change the data or the optimizer inside the fit function." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "In any of the callbacks you can unpack in the kwargs:\n", "- `n_epochs`, contains the number of epochs the training will take in total\n", "- `epoch`, contains the number of the current\n", "- `iteration`, contains the number of iterations done since the beginning of training\n", "- `num_batch`, contains the number of the batch we're at in the dataloader\n", "- `last_input`, contains the last input that got through the model (eventually updated by a callback)\n", "- `last_target`, contains the last target that gor through the model (eventually updated by a callback)\n", "- `last_output`, contains the last output spitted by the model (eventually updated by a callback)\n", "- `last_loss`, contains the last loss computed (eventually updated by a callback)\n", "- `smooth_loss`, contains the smoothed version of the loss\n", "- `last_metrics`, contains the last validation loss and emtrics computed\n", "- `pbar`, the progress bar" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Methods your subclass can implement" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "All of these methods are optional; your subclass can handle as many or as few as you require." ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_train_begin[source]

\n", "\n", "> on_train_begin(`kwargs`:`Any`)\n", "\n", "To initialize constants in the callback. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_train_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here we can initiliaze anything we need. \n", "The optimizer has now been initialized. We can change any hyper-parameters by typing, for instance:\n", "\n", "```\n", "self.opt.lr = new_lr\n", "self.opt.mom = new_mom\n", "self.opt.wd = new_wd\n", "self.opt.beta = new_beta\n", "```" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_begin[source]

\n", "\n", "> on_epoch_begin(`kwargs`:`Any`)\n", "\n", "At the beginning of each epoch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_epoch_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This is not technically required since we have `on_train_begin` for epoch 0 and `on_epoch_end` for all the other epochs,\n", "yet it makes writing code that needs to be done at the beginning of every epoch easy and more readable." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_batch_begin[source]

\n", "\n", "> on_batch_begin(`kwargs`:`Any`)\n", "\n", "Set HP before the step is done. Returns xb, yb (which can allow us to modify the input at that step if needed). " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_batch_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the perfect place to prepare everything before the model is called.\n", "Example: change the values of the hyperparameters (if we don't do it on_batch_end instead)\n", "\n", "If we return something, that will be the new value for `xb`,`yb`. " ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_loss_begin[source]

\n", "\n", "> on_loss_begin(`kwargs`:`Any`)\n", "\n", "Called after forward pass but before loss has been computed. Returns the output (which can allow us to modify it). " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_loss_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed after the output has been computed but before the\n", "loss computation.\n", "Example: putting the output back in FP32 when training in mixed precision.\n", "\n", "If we return something, that will be the new value for the output." ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_backward_begin[source]

\n", "\n", "> on_backward_begin(`kwargs`:`Any`)\n", "\n", "Called after the forward pass and the loss has been computed, but before backprop. Returns the loss (which can allow us to modify it, for instance for reg functions) " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_backward_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed after the loss has been computed but before the gradient computation.\n", "Example: `reg_fn` in RNNs.\n", "\n", "If we return something, that will be the new value for loss. Since the recorder is always called first,\n", "it will have the raw loss." ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_backward_end[source]

\n", "\n", "> on_backward_end(`kwargs`:`Any`)\n", "\n", "Called after backprop but before optimizer step. Useful for true weight decay in AdamW. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_backward_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed after the gradients have been computed but\n", "before the optimizer is called." ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_step_end[source]

\n", "\n", "> on_step_end(`kwargs`:`Any`)\n", "\n", "Called after the step of the optimizer but before the gradients are zeroed. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_step_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed after the optimizer step but before the gradients\n", "are zeroed" ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_batch_end[source]

\n", "\n", "> on_batch_end(`kwargs`:`Any`)\n", "\n", "Called at the end of the batch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_batch_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed after a batch is fully done.\n", "Example: change the values of the hyperparameters (if we don't do it on_batch_begin instead)\n", "\n", "If we return true, the current epoch is interrupted (example: lr_finder stops the training when the loss explodes)" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_end[source]

\n", "\n", "> on_epoch_end(`kwargs`:`Any`) → `bool`\n", "\n", "Called at the end of an epoch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_epoch_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to run some code that needs to be executed at the end of an epoch.\n", "Example: Save the model if we have a new best validation loss/metric.\n", "\n", "If we return true, the training stops (example: early stopping)" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_train_end[source]

\n", "\n", "> on_train_end(`kwargs`:`Any`)\n", "\n", "Useful for cleaning up things and saving files/models. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Callback.on_train_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here is the place to tidy everything. It's always executed even if there was an error during the training loop,\n", "and has an extra kwarg named exception to check if there was an exception or not.\n", "Examples: save log_files, load best model found during training" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Annealing functions" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The following functions provide different annealing schedules. You probably won't need to call them directly, but would instead use them as part of a callback. Here's what each one looks like:" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "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qs97fCfweUOXzVtE5AkRaSsiCRh1+42I3AZ8izHHM/jYOQOIyAngiFKqs2fTcIxpTH22rjGaeC5TSgV5/tZPnbNP13U1Z6vbVOAOz909lwHFp5qEakVEfGIBxgL7gAPAU41dHi+e528wfuLtALZ5lrEYbd5fAxmex4jGLquXzn8YsMTzPAnYCOwH/g+wNnb5vHC+lwKbPfX9GRDu63UN/A3YA6QB7wNWX6xrYD5GP4YD4xv9lLPVLUZTz6ue+LYT466nWh9bZ+5qmqY1M77S1KNpmqbVkA78mqZpzYwO/Jqmac2MDvyapmnNjA78mqZpzYwO/Jqmac2MDvyapmnNjA78mqZpzcz/B2fgpwIoieQhAAAAAElFTkSuQmCC\n", "text/plain": [ "" ] }, "metadata": { "needs_background": "light" }, "output_type": "display_data" } ], "source": [ "annealings = \"NO LINEAR COS EXP POLY\".split()\n", "fns = [annealing_no, annealing_linear, annealing_cos, annealing_exp, annealing_poly(0.8)]\n", "for fn, t in zip(fns, annealings):\n", " plt.plot(np.arange(0, 100), [fn(2, 1e-2, o)\n", " for o in np.linspace(0.01,1,100)], label=t)\n", "plt.legend();" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

annealing_cos[source]

\n", "\n", "> annealing_cos(`start`:`Number`, `end`:`Number`, `pct`:`float`) → `Number`\n", "\n", "Cosine anneal from `start` to `end` as pct goes from 0.0 to 1.0. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(annealing_cos)" ] }, { "cell_type": "code", "execution_count": 14, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

annealing_exp[source]

\n", "\n", "> annealing_exp(`start`:`Number`, `end`:`Number`, `pct`:`float`) → `Number`\n", "\n", "Exponentially anneal from `start` to `end` as pct goes from 0.0 to 1.0. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(annealing_exp)" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

annealing_linear[source]

\n", "\n", "> annealing_linear(`start`:`Number`, `end`:`Number`, `pct`:`float`) → `Number`\n", "\n", "Linearly anneal from `start` to `end` as pct goes from 0.0 to 1.0. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(annealing_linear)" ] }, { "cell_type": "code", "execution_count": 16, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

annealing_no[source]

\n", "\n", "> annealing_no(`start`:`Number`, `end`:`Number`, `pct`:`float`) → `Number`\n", "\n", "No annealing, always return `start`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(annealing_no)" ] }, { "cell_type": "code", "execution_count": 17, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

annealing_poly[source]

\n", "\n", "> annealing_poly(`degree`:`Number`) → `Number`\n", "\n", "Anneal polynomically from `start` to `end` as pct goes from 0.0 to 1.0. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(annealing_poly)" ] }, { "cell_type": "code", "execution_count": 18, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class CallbackHandler[source]

\n", "\n", "> CallbackHandler(`callbacks`:`Collection`\\[[`Callback`](/callback.html#Callback)\\]=`None`, `metrics`:`Collection`\\[[`Callback`](/callback.html#Callback)\\]=`None`, `beta`:`float`=`0.98`)\n", "\n", "Manage all of the registered callback objects, smoothing loss by momentum `beta`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You probably won't need to use this class yourself. It's used by fastai to combine all the callbacks together and call any relevant callback functions for each training stage. The methods below simply call the equivalent method in each callback function in [`self.callbacks`](/callbacks.html#callbacks). " ] }, { "cell_type": "code", "execution_count": 19, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_backward_begin[source]

\n", "\n", "> on_backward_begin(`loss`:`Tensor`)\n", "\n", "Handle gradient calculation on `loss`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_backward_begin)" ] }, { "cell_type": "code", "execution_count": 20, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_backward_end[source]

\n", "\n", "> on_backward_end()\n", "\n", "Handle end of gradient calculation. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_backward_end)" ] }, { "cell_type": "code", "execution_count": 21, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_batch_begin[source]

\n", "\n", "> on_batch_begin(`xb`:`Tensor`, `yb`:`Tensor`, `train`:`bool`=`True`)\n", "\n", "Handle new batch `xb`,`yb`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_batch_begin)" ] }, { "cell_type": "code", "execution_count": 22, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_batch_end[source]

\n", "\n", "> on_batch_end(`loss`:`Tensor`)\n", "\n", "Handle end of processing one batch with `loss`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_batch_end)" ] }, { "cell_type": "code", "execution_count": 23, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_begin[source]

\n", "\n", "> on_epoch_begin()\n", "\n", "Handle new epoch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_epoch_begin)" ] }, { "cell_type": "code", "execution_count": 24, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_end[source]

\n", "\n", "> on_epoch_end(`val_loss`:`Tensor`) → `bool`\n", "\n", "Epoch is done, process `val_metrics`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_epoch_end)" ] }, { "cell_type": "code", "execution_count": 25, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_loss_begin[source]

\n", "\n", "> on_loss_begin(`out`:`Tensor`)\n", "\n", "Handle start of loss calculation with model output `out`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_loss_begin)" ] }, { "cell_type": "code", "execution_count": 26, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_step_end[source]

\n", "\n", "> on_step_end()\n", "\n", "Handle end of optimization step. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_step_end)" ] }, { "cell_type": "code", "execution_count": 27, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_train_begin[source]

\n", "\n", "> on_train_begin(`epochs`:`int`, `pbar`:`PBar`, `metrics`:`MetricFuncList`)\n", "\n", "About to start learning. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_train_begin)" ] }, { "cell_type": "code", "execution_count": 28, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_train_end[source]

\n", "\n", "> on_train_end(`exception`:`Union`\\[`bool`, `Exception`\\])\n", "\n", "Handle end of training, `exception` is an `Exception` or False if no exceptions during training. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(CallbackHandler.on_train_end)" ] }, { "cell_type": "code", "execution_count": 29, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class OptimWrapper[source]

\n", "\n", "> OptimWrapper(`opt`:[`Optimizer`](https://pytorch.org/docs/stable/optim.html#torch.optim.Optimizer), `wd`:`Floats`=`0.0`, `true_wd`:`bool`=`False`, `bn_wd`:`bool`=`True`)\n", "\n", "Basic wrapper around an optimizer to simplify HP changes. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This is a convenience class that provides a consistent API for getting and setting optimizer hyperparameters. For instance, for [`optim.Adam`](https://pytorch.org/docs/stable/optim.html#torch.optim.Adam) the momentum parameter is actually `betas[0]`, whereas for [`optim.SGD`](https://pytorch.org/docs/stable/optim.html#torch.optim.SGD) it's simply `momentum`. As another example, the details of handling weight decay depend on whether you are using `true_wd` or the traditional L2 regularization approach.\n", "\n", "This class also handles setting different WD and LR for each layer group, for discriminative layer training." ] }, { "cell_type": "code", "execution_count": 30, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

create[source]

\n", "\n", "> create(`opt_func`:`Callable`, `lr`:`Union`\\[`float`, `Tuple`, `List`\\], `layer_groups`:`ModuleList`, `kwargs`:`Any`) → [`Optimizer`](https://pytorch.org/docs/stable/optim.html#torch.optim.Optimizer)\n", "\n", "Create an optim.Optimizer from `opt_func` with `lr`. Set lr on `layer_groups`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.create)" ] }, { "cell_type": "code", "execution_count": 31, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

read_defaults[source]

\n", "\n", "> read_defaults()\n", "\n", "Read the values inside the optimizer for the hyper-parameters. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.read_defaults)" ] }, { "cell_type": "code", "execution_count": 32, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

read_val[source]

\n", "\n", "> read_val(`key`:`str`) → `Union`\\[`List`\\[`float`\\], `Tuple`\\[`List`\\[`float`\\], `List`\\[`float`\\]\\]\\]\n", "\n", "Read a hyperparameter key in the optimizer dictionary. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.read_val)" ] }, { "cell_type": "code", "execution_count": 33, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

set_val[source]

\n", "\n", "> set_val(`key`:`str`, `val`:`Any`, `bn_groups`:`bool`=`True`) → `Any`\n", "\n", "Set the values inside the optimizer dictionary at the key. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.set_val)" ] }, { "cell_type": "code", "execution_count": 34, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

step[source]

\n", "\n", "> step()\n", "\n", "Set weight decay and step optimizer. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.step)" ] }, { "cell_type": "code", "execution_count": 35, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

zero_grad[source]

\n", "\n", "> zero_grad()\n", "\n", "Clear optimizer gradients. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(OptimWrapper.zero_grad)" ] }, { "cell_type": "code", "execution_count": 36, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class SmoothenValue[source]

\n", "\n", "> SmoothenValue(`beta`:`float`)\n", "\n", "Create a smooth moving average for a value (loss, etc). " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(SmoothenValue)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Used for smoothing loss in [`Recorder`](/basic_train.html#Recorder)." ] }, { "cell_type": "code", "execution_count": 37, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

add_value[source]

\n", "\n", "> add_value(`val`:`float`)\n", "\n", "Add current value to calculate updated smoothed value. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(SmoothenValue.add_value)" ] }, { "cell_type": "code", "execution_count": 38, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class Stepper[source]

\n", "\n", "> Stepper(`vals`:`StartOptEnd`, `n_iter`:`int`, `func`:`Optional`\\[`AnnealFunc`\\]=`None`)\n", "\n", "Used to \"step\" from start,end (`vals`) over `n_iter` iterations on a schedule defined by `func` " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Stepper)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Used for creating annealing schedules, mainly for [`OneCycleScheduler`](/callbacks.one_cycle.html#OneCycleScheduler)." ] }, { "cell_type": "code", "execution_count": 39, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

step[source]

\n", "\n", "> step() → `Number`\n", "\n", "Return next value along annealed schedule. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(Stepper.step)" ] }, { "cell_type": "code", "execution_count": 40, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

class AverageMetric[source]

\n", "\n", "> AverageMetric(`func`) :: [`Callback`](/callback.html#Callback)\n", "\n", "Wrap a `func` in a callback for metrics computation. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(AverageMetric)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "See the documentation on [`metrics`](/metrics.html#metrics) for more information." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Undocumented Methods - Methods moved below this line will intentionally be hidden" ] }, { "cell_type": "code", "execution_count": 41, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

do_annealing_poly[source]

\n", "\n", "> do_annealing_poly(`start`:`Number`, `end`:`Number`, `pct`:`float`, `degree`:`Number`) → `Number`\n", "\n", "Helper function for `anneal_poly`. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(do_annealing_poly)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## New Methods - Please document or move to the undocumented section" ] }, { "cell_type": "code", "execution_count": 42, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_begin[source]

\n", "\n", "> on_epoch_begin(`kwargs`)\n", "\n", "At the beginning of each epoch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(AverageMetric.on_epoch_begin)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [] }, { "cell_type": "code", "execution_count": 43, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_batch_end[source]

\n", "\n", "> on_batch_end(`last_output`, `last_target`, `train`, `kwargs`)\n", "\n", "Called at the end of the batch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(AverageMetric.on_batch_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [] }, { "cell_type": "code", "execution_count": 44, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

on_epoch_end[source]

\n", "\n", "> on_epoch_end(`kwargs`)\n", "\n", "Called at the end of an epoch. " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(AverageMetric.on_epoch_end)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [] } ], "metadata": { "jekyll": { "keywords": "fastai", "summary": "Implementation of the callback system", "title": "callback" }, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 2 }