Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[DOC] CAGRA documentation fix for load

オープン 初心者向け
#2,695 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

issue にリンクされている CAGRA Python API ドキュメントの cagra.load から始め、そこに記載された呼び出しを、Index、Dataset、out_dataset を使った動作する例と比較してください。定義と例を現在の API に一致するように更新し、その後、ドキュメントに記載された load の呼び出しが報告された TypeError なしで実行され、近傍と距離を返すことを確認してください。

索引モデルが issue の本文から書いたものです。

説明

doc

Report incorrect documentation

Location of incorrect documentation
https://docs.nvidia.com/cuvs/api-reference/python-api-neighbors-cagra#load

Describe the problems or issues found in the documentation
This is inconsistent with the current version.

Steps taken to verify documentation is incorrect
simply doing whatever is written in the index is throwing error.

File "x/x1.py", line 53, in main index = cagra.load("index") ^^^^^^^^^^^^^^^^^^^ File "cuvs/common/resources.pyx", line 128, in cuvs.common.resources.auto_sync_resources.wrapper File "cuvs/neighbors/cagra/cagra.pyx", line 980, in cuvs.neighbors.cagra.cagra.load TypeError: load() takes at least 2 positional arguments (1 given

Suggested fix for documentation
please change the definition of the one in the documentation


Report needed documentation

Report needed documentation
this is the actual way to load it I believe, this works properly and returns the distances & neighbors.

index = cagra.Index()
dataset = cagra.Dataset()

cagra.load(
    index,
    "index",
    out_dataset=dataset,
)

cuvs version: 26.08.01

主要言語
Cuda
スター
859
フォーク
239
平均マージ
2日 19時間
マージ済み PR(30日)
62

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/cuvs のほかの issue

NVIDIA/cuvs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。