jiaxiangshang / MGCNet

Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency[ECCV 2020]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I compile the tf_mesh_render?I couldn't generate the 'rasterize_triangles_kernel.so'.

lin-girl opened this issue · comments

In the README.md, we give detailed steps. Totally follow this and you can get the .so

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

@jiaxiangshang In the README.md , i did not see any about how to get the .so . so could you tell this clearly? thanks

How about the solution step above your question?

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

Then, solve the build problems?

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

thanks for you answer, but it seems that I can't get the rasterize_triangles_kernel.so file after bazel build, or I get the rasterize_triangles_kernel.so file in some other folder under other bazel and gcc version, but it can't be used in the end.
may you offer some more interpretation? thanks anyway.