No module named tensorflow_graphics.math.interpolation.trilinear

Đang mở
#484 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python, tensorflow
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện import bị thiếu tensorflow_graphics.math.interpolation.trilinear với các phiên bản tensorflow-graphics và TensorFlow được báo cáo, sau đó kiểm tra module interpolation hiện có cùng các mục bspline, slerp và weighted của nó. Công việc được hoàn tất khi chức năng nội suy ba tuyến tính có sẵn thông qua package tfg và import được báo cáo không còn thất bại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Python
Star
2.8k
Fork
374
Merge trung bình
5 ngày 9 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/graphics

Tất cả issue của tensorflow/graphics

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.