Browse Source

[DOC] Update quick doc

tags/v0.3.2
bxdd 3 years ago
parent
commit
e00815fb79
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/start/quick.rst

+ 2
- 2
docs/start/quick.rst View File

@@ -25,7 +25,7 @@ Learnware is currently hosted on `PyPI <https://pypi.org/>`__. 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)


Loading…
Cancel
Save