Home | Trees | Indices | Help |
|
---|
|
This checkpoint function saves the node in pickle format. The pickle dump can be done either before the training phase is finished or right after that. In this way, it is for example possible to reload it in successive sessions and continue the training.
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Execute the checkpoint function. This is the method that is going to be called at the checkpoint. Overwrite it to match your needs.
|
CheckpointSaveFunction constructor. 'filename' -- the name of the pickle dump file. 'stop_training' -- if set to 0 the pickle dump is done before closing the training phase if set to 1 the training phase is closed and then the node is dumped 'binary' -- sets binary mode for opening the file. When using a protocol higher than 0, make sure the file is opened in binary mode. 'protocol' -- is the 'protocol' argument for the pickle dump (see Pickle documentation for details)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Mar 10 15:27:56 2016 | http://epydoc.sourceforge.net |