(self, map_location=None)
Resume a checkpoint using the `bootstrap.lib.options.Options`
Resume a checkpoint using the `bootstrap.lib.options.Options`
Resume a checkpoint using the bootstrap . lib . options . Options
def resume(self, map_location=None):
        """ Resume a checkpoint using the `bootstrap.lib.options.Options`
        """
        Logger()('Loading {} checkpoint'.format(Options()['exp']['resume']))
        self.load(Options()['exp']['dir'],
                  Options()['exp']['resume'],
                  self.model, self.optimizer,
                  map_location=map_location)
        self.epoch += 1
def resume ( self , map_location = None ) : Logger ( ) ( 'Loading {} checkpoint' . format ( Options ( ) [ 'exp' ] [ 'resume' ] ) ) self . load ( Options ( ) [ 'exp' ] [ 'dir' ] , Options ( ) [ 'exp' ] [ 'resume' ] , self . model , self . optimizer , map_location = map_location ) self . epoch += 1