deeppavlov/core/models/keras_model.py
def load(self) -> None:
        """Checks existence of the model file, loads the model if the file exists"""

        # Checks presence of the model files
        if self.load_path.exists():
            path = str(self.load_path.resolve())
            log.info('[loading model from {}]'.format(path))
            self._net.load(path)
def load(self) -> None:
        # Checks presence of the model files
        if self.load_path.exists():
            path = str(self.load_path.resolve())
            log.info('[loading model from {}]'.format(path))
            self._net.load(path)
def load ( self ) -> None : # Checks presence of the model files if self . load_path . exists ( ) : path = str ( self . load_path . resolve ( ) ) log . info ( '[loading model from {}]' . format ( path ) ) self . _net . load ( path )
Checks existence of the model file, loads the model if the file exists
Checks existence of the model file loads the model if the file exists