tensorflow / tensorflow/graphics

Cannot load rasterizer_op.so on OSX

Open
#670 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.8k
Forks
374
PR merge metrics
No merged PRs in 30d

Description

I am getting the following error when I try to use the opengl or CPU backends of rasterize:

When I run import tensorflow_graphics.rendering.opengl.rasterization_backend I get

tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/xxxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so, 0x0006): tried: '/Users/xxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so' (not a mach-o file), '/usr/local/lib/rasterizer_op.so' (no such file), '/usr/lib/rasterizer_op.so' (no such file).

Do I need to build from source on Mac? What is the best way to do that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import of tensorflow_graphics.rendering.opengl.rasterization_backend on macOS and inspect the packaged rasterizer_op.so reported in the error. Check whether the shared object is built for macOS and review the project's source-build instructions; done means the OpenGL or CPU rasterization backend imports successfully, or the required macOS build steps are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.