(framework_name: str,
                         base_dir: str)
return load(src)
Load a model from the specified directory previously used to save the converted model

    :param framework_name: name of the framework of the model
    :param base_dir: the base directory to save the model file

    :return: model object of the specified framework
Load a model from the specified directory previously used to save the converted model
Load a model from the specified directory previously used to save the converted model
def load_converted_model(framework_name: str,
                         base_dir: str):
    """Load a model from the specified directory previously used to save the converted model

    :param framework_name: name of the framework of the model
    :param base_dir: the base directory to save the model file

    :return: model object of the specified framework
    """
    _, load, src_filename = _get_model_saver_loader(framework_name)
    src = os.path.join(base_dir, src_filename)
    if not os.path.exists(src):
        raise FileNotFoundError("expected file or folder {} doesn't exist".format(src))
    return load(src)
def load_converted_model ( framework_name : str , base_dir : str ) : _ , load , src_filename = _get_model_saver_loader ( framework_name ) src = os . path . join ( base_dir , src_filename ) if not os . path . exists ( src ) : raise FileNotFoundError ( "expected file or folder {} doesn't exist" . format ( src ) ) return load ( src )