-
Notifications
You must be signed in to change notification settings - Fork 95
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
AttributeError: 'ColoredRenderer' object has no attribute 'vbo_verts_face' #17
Comments
My opendr version is 0.73, ubuntu 18.04 |
Could you please try to upgrade opendr to 0.78? I use version 0.78 and it works. |
i tried. but another error occurs. (metro) user@user-System-Product-Name:~/Desktop/YOLOv3$ pip install opendr
|
For opendr installation, there are different possible solutions. You could try the following one, which works for many folks:
or you could try the following one, which I found useful on my machine:
The first solution can be found in the previous issue here |
Thanks. It works. |
@kevinlin311tw the first solution is not work any more, second one also not work for windows |
Hi, did you solve this? I tried several versions and kept getting this error. |
Hello. I met an error when I am running the demo.
Traceback (most recent call last):
File "./metro/tools/end2end_inference_bodymesh.py", line 318, in
main(args)
File "./metro/tools/end2end_inference_bodymesh.py", line 314, in main
run_inference(args, image_list, _metro_network, mesh_smpl, renderer, mesh_sampler)
File "./metro/tools/end2end_inference_bodymesh.py", line 90, in run_inference
att[-1][0].detach())
File "./metro/tools/end2end_inference_bodymesh.py", line 121, in visualize_mesh_and_attention
rend_img = visualize_reconstruction_and_att_local(img, 224, vertices_full, vertices, vertices_2d, cam, renderer, joints_2d, att, color='pink')
File "/home/user/Desktop/MeshTransformer/metro/utils/renderer.py", line 407, in visualize_reconstruction_and_att_local
focal_length=focal_length, body_color=color)
File "/home/user/Desktop/MeshTransformer/metro/utils/renderer.py", line 608, in render
return self.renderer.r
File "/home/user/anaconda3/envs/metro/lib/python3.7/site-packages/chumpy/ch.py", line 594, in r
self._call_on_changed()
File "/home/user/anaconda3/envs/metro/lib/python3.7/site-packages/chumpy/ch.py", line 589, in _call_on_changed
self.on_changed(self._dirty_vars)
File "/home/user/anaconda3/envs/metro/lib/python3.7/site-packages/opendr-0.73-py3.7.egg/opendr/renderer.py", line 1082, in on_changed
self.vbo_verts_face.set_array(np.array(self.verts_by_face).astype(np.float32))
AttributeError: 'ColoredRenderer' object has no attribute 'vbo_verts_face'
The text was updated successfully, but these errors were encountered: