You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the instruction, pip tf1.12 on ubuntu16.04, cuda9.0, using the precompiling binary file, but there is a error, can you give me some help?
Traceback (most recent call last):
File "demo.py", line 13, in
from face_decoder import Face3D
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/face_decoder.py", line 10, in
from renderer import mesh_renderer
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/renderer/mesh_renderer.py", line 23, in
import rasterize_triangles
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/renderer/../renderer/rasterize_triangles.py", line 27, in
os.path.join(os.environ['TEST_SRCDIR'],
File "/root/anaconda3/envs/deep3d/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'TEST_SRCDIR'
The text was updated successfully, but these errors were encountered:
I had the same problem, and here's my solution:export TEST_SRCDIR=/root/Deep3DFaceReconstruction/renderer
If you want to make it permanent, you can write it to ~/.bashrc
I hope this will help you
I follow the instruction, pip tf1.12 on ubuntu16.04, cuda9.0, using the precompiling binary file, but there is a error, can you give me some help?
Traceback (most recent call last):
File "demo.py", line 13, in
from face_decoder import Face3D
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/face_decoder.py", line 10, in
from renderer import mesh_renderer
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/renderer/mesh_renderer.py", line 23, in
import rasterize_triangles
File "/root/shenzhen/lkq/Deep3DFaceReconstruction/renderer/../renderer/rasterize_triangles.py", line 27, in
os.path.join(os.environ['TEST_SRCDIR'],
File "/root/anaconda3/envs/deep3d/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'TEST_SRCDIR'
The text was updated successfully, but these errors were encountered: