No module named tensorflow_graphics.math.interpolation.trilinear

オープン
#484 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, tensorflow

調査の方向性

まず、報告された tensorflow-graphics と TensorFlow のバージョンで、欠落している tensorflow_graphics.math.interpolation.trilinear の import を再現し、次に既存の interpolation モジュールと、その bspline、slerp、weighted のエントリを調べます。tfg パッケージを通じて三線形補間の機能を利用でき、報告された import が失敗しなくなれば完了です。

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

説明

Hello,

when I try to call the trilinear interpolation method I get the following error:

ModuleNotFoundError: No module named 'tensorflow_graphics.math.interpolation.trilinear'

After inspecting the interpolation module it shows, that there is no trilinear module provided:

[..., ('bspline', <module 'tensorflow_graphics.math.interpolation.bspline' from '/usr/local/lib/python3.6/dist-packages/tensorflow_graphics/math/interpolation/bspline.py'>), ('division', _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)), ('print_function', _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)), ('slerp', <module 'tensorflow_graphics.math.interpolation.slerp' from '/usr/local/lib/python3.6/dist-packages/tensorflow_graphics/math/interpolation/slerp.py'>), ('weighted', <module 'tensorflow_graphics.math.interpolation.weighted' from '/usr/local/lib/python3.6/dist-packages/tensorflow_graphics/math/interpolation/weighted.py'>)]

A workaround would be to implement the trilinear module/functionality besides the tfg package. But it should definitely work out of the box with tfg.

Tested with tensorflow-graphics version: 2020.5.20 and tensorflow-graphics-gpu: 1.0.0. Running on tf 2.4.0

Has anyone faced the same issue?

主要言語
Python
スター
2.8k
フォーク
374
平均マージ
5日 9時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

tensorflow/graphics のほかの issue

tensorflow/graphics の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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