Mask_RCNN icon indicating copy to clipboard operation
Mask_RCNN copied to clipboard

could anybody help?

Open STRUGGLE1999 opened this issue 3 years ago • 2 comments

image

STRUGGLE1999 avatar Jul 11 '22 04:07 STRUGGLE1999

As a strong guess I would say your image dimensions that you feed to the model and the ones the model expects are 3 pixels off (112 to 115). Do you have the chance to change them accordingly?

Testbild avatar Jul 14 '22 08:07 Testbild

Thank you very much ,I have solved it.Would you please help loot at this error? It says Library "GLU" not found.but I have install pyglet according to the instruction.

Traceback (most recent call last):   File "demo.py", line 68, in <module>     visualize(renderer, original_img, params, vertices, cam, joints)   File "../visualise/vis_util.py", line 180, in visualize     img_overlay = renderer(vert_shifted, img=img, bg_color=np.array((255.0, 255.0, 255.0, 1)))   File "../visualise/trimesh_renderer.py", line 46, in call     image_bytes = scene.save_image(resolution=(w, h), background=bg_color, visible=True)   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/trimesh/scene/scene.py", line 873, in save_image     from ..viewer.windowed import render_scene   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/trimesh/viewer/windowed.py", line 32, in <module>     import pyglet.gl as gl  # NOQA   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/init.py", line 95, in <module>     from pyglet.gl.gl import *   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/gl.py", line 45, in <module>     from pyglet.gl.lib import link_GL as _link_function   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/lib.py", line 149, in <module>     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/lib_glx.py", line 46, in <module>     glu_lib = pyglet.lib.load_library('GLU')   File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/lib.py", line 168, in load_library     raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GLU" not found. (hmr) @.*** visualise]$ pip install pyglet Requirement already satisfied: pyglet in /home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages (1.5.26)

@.***

------------------ 原始邮件 ------------------ 发件人: "matterport/Mask_RCNN" @.>; 发送时间: 2022年7月14日(星期四) 下午4:53 @.>; @.@.>; 主题: Re: [matterport/Mask_RCNN] could anybody help? (Issue #2853)

As a strong guess I would say your image dimensions that you feed to the model and the ones the model expects are 3 pixels off (112 to 115). Do you have the chance to change them accordingly?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

STRUGGLE1999 avatar Jul 14 '22 08:07 STRUGGLE1999