{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## TrainingPhase and General scheduler" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Creates a scheduler that lets you train a model with following different [`TrainingPhase`](/callbacks.general_sched.html#TrainingPhase)." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import *\n", "from fastai.callbacks.general_sched import * \n", "from fastai.vision import *" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "
class
TrainingPhase
[source][test]TrainingPhase
(**`length`**:`int`)\n",
"\n",
"No tests found for TrainingPhase
. To contribute a test please refer to this guide and this discussion.
schedule_hp
[source][test]schedule_hp
(**`name`**, **`vals`**, **`anneal`**=***`None`***)\n",
"\n",
"No tests found for schedule_hp
. To contribute a test please refer to this guide and this discussion.
epoch | \n", "train_loss | \n", "valid_loss | \n", "accuracy | \n", "time | \n", "
---|---|---|---|---|
0 | \n", "0.162146 | \n", "0.153532 | \n", "0.942100 | \n", "00:02 | \n", "
1 | \n", "0.126112 | \n", "0.117267 | \n", "0.960255 | \n", "00:02 | \n", "
2 | \n", "0.112045 | \n", "0.110586 | \n", "0.962218 | \n", "00:02 | \n", "
3 | \n", "0.097603 | \n", "0.090838 | \n", "0.967615 | \n", "00:02 | \n", "
4 | \n", "0.086883 | \n", "0.081375 | \n", "0.973013 | \n", "00:02 | \n", "
5 | \n", "0.083673 | \n", "0.076160 | \n", "0.973994 | \n", "00:02 | \n", "
6 | \n", "0.084835 | \n", "0.076211 | \n", "0.973994 | \n", "00:02 | \n", "