Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'TEST_SRCDIR' #44

Open
lin-girl opened this issue Aug 2, 2021 · 4 comments
Open

KeyError: 'TEST_SRCDIR' #44

lin-girl opened this issue Aug 2, 2021 · 4 comments

Comments

@lin-girl
Copy link

lin-girl commented Aug 2, 2021

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?

@Iam-Jane
Copy link

Iam-Jane commented Aug 3, 2021

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

@lin-girl
Copy link
Author

lin-girl commented Aug 3, 2021 via email

@jiaxiangshang
Copy link
Owner

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

@UestcJay
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants