class documentation
class SaveStatedictEveryNEpochCallback(Callback): (source)
Callback that saves the models statedict at each Nth epoch.
Method | __init__ |
Creates a SaveStatedictEveryNEpochCallback object. |
Method | after |
Function called after each epoch |
Class Variable | order |
Internal Callback ordering. See fastai.callback for details |
Instance Variable | fname |
Filename for the saved statedict. Epoch number is appended and filetype is '.statedict' |
Instance Variable | n |
After what recurring count of epochs should the callback save the statedict |
Instance Variable | path |
Folder to save the statedict in |
Class Variable | _only |
Undocumented |