rasterizer_op.so: undefined symbol
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python, tensorflow
调研方向
首先使用 TensorFlow 2.15.0 运行 tensorflow_graphics/notebooks/inverse_rendering.ipynb,并检查 tensorflow_graphics/rendering/kernels/rasterization_backend.py,该文件会导入生成的光栅化器操作。检查 rasterizer_op.so 的构建和加载方式,并将报告的 undefined symbol 作为失败条件。完成的标准是:notebook 能够使用所列的 TensorFlow 版本导入并运行,且不需要降级。
由索引模型根据 Issue 内容生成。
描述
Error when running inverse_rendering.ipynb on colab with TF version 2.15.0 (default):
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/tensorflow_graphics/rendering/kernels/rasterization_backend.py](https://localhost:8080/#) in <module>
32 try:
---> 33 from tensorflow_graphics.rendering.kernels import gen_rasterizer_op as render_ops
34 except ImportError:
ImportError: cannot import name 'gen_rasterizer_op' from 'tensorflow_graphics.rendering.kernels' (/usr/local/lib/python3.10/dist-packages/tensorflow_graphics/rendering/kernels/__init__.py)
During handling of the above exception, another exception occurred:
NotFoundError Traceback (most recent call last)
13 frames
[/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/load_library.py](https://localhost:8080/#) in load_op_library(library_filename)
52 RuntimeError: when unable to load the library or get the python wrappers.
53 """
---> 54 lib_handle = py_tf.TF_LoadLibrary(library_filename)
55 try:
56 wrappers = _pywrap_python_op_gen.GetPythonWrappers(
NotFoundError: /usr/local/lib/python3.10/dist-packages/tensorflow_graphics/rendering/kernels/rasterizer_op.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb
!pip freeze | grep tensorflow
tensorflow-addons==0.23.0
tensorflow-datasets==4.9.4
tensorflow-estimator==2.15.0
tensorflow-gcs-config==2.15.0
tensorflow-graphics==2021.12.3
tensorflow-hub==0.16.1
tensorflow-io-gcs-filesystem==0.36.0
tensorflow-metadata==1.14.0
tensorflow-probability==0.23.0
Downgrading TF to 2.8 allows it to run:
!pip uninstall tensorflow -y
!pip install tensorflow~=2.8.0
!pip install tensorflow_graphics
- 主要语言
- Python
- 星标
- 2.8k
- 派生
- 374
- 平均合并
- 5 天 9 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/graphics 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
tensorflow/graphics#468 ·
-
难度 5/5 一周以上 新手友好度 25/100
tensorflow/graphics#5337 ·
-
难度 3/5 1-2 天 新手友好度 25/100
tensorflow/graphics#730 ·
-
难度 5/5 一周以上 新手友好度 10/100
tensorflow/graphics#724 ·
-
难度 3/5 1-2 天 新手友好度 45/100
tensorflow/graphics#719 ·
查看 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 天内回复
-
hardware help wanted testing
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 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 天内回复