`knot_weights` function expects only a `int` (but not a `tensor`) as a parameter
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python, tensorflow
調査の方向性
tensorflow_graphics.math.interpolation.bspline.knot_weights から始め、特に @tf.function 内で tf.constant の値を渡して、報告された失敗を再現します。テンソル入力をどのように扱うことが意図されているかを判断し、対象を絞ったテストで選択した動作を検証します。完了条件は、グラフ生成で unhashable-tensor 例外が発生しなくなることです。
索引モデルが issue の本文から書いたものです。
説明
The knot_weights function, from:
tensorflow_graphics.math.interpolation.bspline
requires an int for the number of knots and the degree parameters (it is mentioned in the documentation), and if a tf.constant is passed, the unhashable tensor exception will occur.
Although it is not really a bug, this seems to be a design flaw, and not expected at all (especially that other parameters are expecting tensors), since it breaks graph generation with @tf.function, unless I will convert it explicitly to int, as pointed here: https://github.com/tensorflow/tensorflow/issues/27491#issuecomment-890887810
- 主要言語
- Python
- スター
- 2.8k
- フォーク
- 374
- 平均マージ
- 5日 9時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tensorflow/graphics のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
tensorflow/graphics#468 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tensorflow/graphics#5337 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
tensorflow/graphics#730 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tensorflow/graphics#729 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
tensorflow/graphics#724 ·
tensorflow/graphics の issue をすべて見る
似ている issue
-
`destroy` sans terminal répond « Aborted. » au lieu de réclamer `--yes` comme `clean` et `reset`オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
stephrobert/dsoxlab#354 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
jasonacox/pypowerwall#472 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: DoubleMLRDDData accepts a score_col that is no data column (as in its docstring example); the running variable then becomes a covariate and RDFlex fails対応中かも @vrjdev が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DoubleML/doubleml-for-py#455 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Python mod.Box[T] annotation gets a false generic_arg edge that replaces the parameter_type one ('is' on tree-sitter nodes)対応中かも @rohit-jsfreaky が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Graphify-Labs/graphify#5110 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
assafelovic/gpt-researcher#2277 ·
メンテナーはふだん 10 日以内に返信