-
Notifications
You must be signed in to change notification settings - Fork 6
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
Mesh dependence: Vertex visibility computation #12
Comments
OK, I believe I found the bug @EWE002 .
I edited the README to recommend the first solution. Please let me know if solved the bug. |
Great to hear that the RePoGen generation works well! I tried the tests and got the same error even though the RePoGen generation works fine. The visibility source needs to be loaded correctly. It is defined in a C++ file in /mesh/src/py_visibility.cpp. It may be a general problem or connected only to unit tests and their loading since the error does not influence the RePoGen code. |
As mentioned by @EWE002,
Thank you very much for your answer,
but after solving the above problem I have encountered a new problem, which is as follows.
Generating poses and views...
0%| | 0/2 [00:00<?, ?it/s]DRI3 not available
failed to load driver: zink
0%| | 0/2 [00:01<?, ?it/s]
Traceback (most recent call last):
File "scripts/sample_random_poses.py", line 785, in
main(args)
File "scripts/sample_random_poses.py", line 388, in main
visibilities = msh.vertex_visibility(
File "/home/m11002163/.conda/envs/mesh/lib/python3.8/site-packages/psbody/mesh/mesh.py", line 284, in vertex_visibility
vis, n_dot_cam = self.vertex_visibility_and_normals(camera, omni_directional_camera)
File "/home/m11002163/.conda/envs/mesh/lib/python3.8/site-packages/psbody/mesh/mesh.py", line 295, in vertex_visibility_and_normals
'cams': np.array([camera.origin.flatten()])}
AttributeError: 'list' object has no attribute 'origin'
This looks like a problem in the mesh?
About the mesh installation, I am following https://github.com/MPI-IS/mesh/tree/master
After I run the test on that page, it shows no problem.
What could be the problem?
Thank you in advance.
Originally posted by @EWE002 in #11 (comment)
The text was updated successfully, but these errors were encountered: