No module named tensorflow_graphics.math.interpolation.trilinear

Abierto
#484 1 comentario 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
32/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python, tensorflow

Línea de trabajo

Comienza reproduciendo el import faltante tensorflow_graphics.math.interpolation.trilinear con las versiones indicadas de tensorflow-graphics y TensorFlow; después, inspecciona el módulo de interpolation existente y sus entradas bspline, slerp y weighted. La tarea estará terminada cuando la funcionalidad de interpolación trilinear esté disponible a través del paquete tfg y el import indicado ya no falle.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Python
Estrellas
2.8k
Forks
374
Merge medio
5 d 9 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tensorflow/graphics

Todos los issues de tensorflow/graphics

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.