From e00815fb79ef7e05a2cd932ea383b70b05f1ca07 Mon Sep 17 00:00:00 2001 From: bxdd Date: Mon, 24 Apr 2023 17:08:50 +0800 Subject: [PATCH] [DOC] Update quick doc --- docs/start/quick.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/start/quick.rst b/docs/start/quick.rst index b1c01f9..1a8f658 100644 --- a/docs/start/quick.rst +++ b/docs/start/quick.rst @@ -25,7 +25,7 @@ Learnware is currently hosted on `PyPI `__. You can easily in .. code-block:: - conda install -c pytorch fais + conda install -c pytorch faiss pip install learnware @@ -153,7 +153,7 @@ For example, the following code is designed to work with Reduced Set Kernel Embe user_spec = specification.rkme.RKMEStatSpecification() user_spec.load(os.path.join(unzip_path, "rkme.json")) user_info = BaseUserInfo( - id="user", semantic_spec=user_semantic, stat_info={"RKMEStatSpecification": user_spec} + semantic_spec=user_semantic, stat_info={"RKMEStatSpecification": user_spec} ) (sorted_score_list, single_learnware_list, mixture_score, mixture_learnware_list) = easy_market.search_learnware(user_info)