microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.16k stars 441 forks source link

Bazel test failed #192

Open lshil00 opened 2 years ago

lshil00 commented 2 years ago

Hi, I'm trying to run the code with your instruction, but get stuck with the "bazel test ...".Could you please help me with this? Really appreciate that. 2021-12-26 20-18-14

lshil00 commented 2 years ago

It looks like https://github.com/google/googletest/archive/master.zip doesn't exist anymore, so I have no idea how to deal with that

zhanchao019 commented 2 years ago

in tf_mesh_render/WORKPLACE, change pkg to this:

http_archive(
name = "com_google_googletest",
urls = ["https://github.com.cnpmjs.org/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip"],
strip_prefix = "googletest-609281088cfefc76f9d0ce82e1ff6c30cc3591e5",
)
e3u3 commented 2 years ago

I changed the lines in WORKPLACE file into following:

http_archive( name = "com_google_googletest", urls = ["https://github.com/google/googletest/archive/**master**.zip"], strip_prefix = "googletest-main", )

This change made to pass first test(kernels:rasterize_triangles_impl_test), which ensured the program running.