tensorflow / tensorflow/graphics
No module named tensorflow_graphics.math.interpolation.trilinear
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the missing tensorflow_graphics.math.interpolation.trilinear import with the reported tensorflow-graphics and TensorFlow versions, then inspect the existing interpolation module and its bspline, slerp, and weighted entries. Done means trilinear interpolation functionality is available through the tfg package and the reported import no longer fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100