MGCNet icon indicating copy to clipboard operation
MGCNet copied to clipboard

KeyError: 'TEST_SRCDIR'

Open lin-girl opened this issue 3 years ago • 4 comments

Traceback (most recent call last): File "/root/MGCNet/thirdParty/tf_mesh_renderer/mesh_renderer/rasterize_triangles.py", line 26, in os.path.join(os.environ['TEST_SRCDIR'], File "/opt/conda/lib/python3.6/os.py", line 669, in getitem raise KeyError(key) from None KeyError: 'TEST_SRCDIR' Does the value 'TEST_SRCDIR' need to be assigned to myself?How to do it?

lin-girl avatar Aug 02 '21 10:08 lin-girl

I don't assign 'TEST_SRCDIR' and I compile successfully. Do you have "rasterize_triangles_kernel.so"

Iam-Jane avatar Aug 03 '21 09:08 Iam-Jane

Yes,"rasterize_triangles_kernel.so" in the directory “/root/MGCNet/thirdParty/tf_mesh_renderer/bazel-bin/mesh_renderer/kernels/”     ------------------ Original ------------------ From: "Jing Bao"; Date: 2021年8月3日(星期二) 下午5:11 To: "jiaxiangshang/MGCNet"; Cc: "lin-girl"; "Author"; Subject: Re: [jiaxiangshang/MGCNet] KeyError: 'TEST_SRCDIR' (#44)

 

I don't assign 'TEST_SRCDIR' and I compile successfully. Do you have "rasterize_triangles_kernel.so"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

lin-girl avatar Aug 03 '21 09:08 lin-girl

The .so is not located in the right path, you can read the code.

jiaxiangshang avatar Aug 04 '21 03:08 jiaxiangshang

Yes,"rasterize_triangles_kernel.so" in the directory “/root/MGCNet/thirdParty/tf_mesh_renderer/bazel-bin/mesh_renderer/kernels/”     ------------------ Original ------------------ From: "Jing Bao"; Date: 2021年8月3日(星期二) 下午5:11 To: "jiaxiangshang/MGCNet"; Cc: "lin-girl"; "Author"; Subject: Re: [jiaxiangshang/MGCNet] KeyError: 'TEST_SRCDIR' (#44)   I don't assign 'TEST_SRCDIR' and I compile successfully. Do you have "rasterize_triangles_kernel.so" — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

hi the same error occurs, did you solve the problem?

UestcJay avatar Nov 29 '21 12:11 UestcJay