hmr2.0 icon indicating copy to clipboard operation
hmr2.0 copied to clipboard

Question : Problem while launching the demo.py

Open bruno-darochac opened this issue 2 years ago • 9 comments

Hi, your work really interrested me for my Bachelor work, but while I was trying to launch it this error apears :

Dimensions must be equal, but are 59 and 61 for '{{node resnet50v2/conv2_block1_out/add}} = AddV2[T=DT_FLOAT](resnet50v2/conv2_block1_0_conv/BiasAdd, resnet50v2/conv2_block1_3_conv/BiasAdd)' with input shapes: [1,59,59,256], [1,61,61,256].

Call arguments received by layer "conv2_block1_out" (type Add):
  • inputs=['tf.Tensor(shape=(1, 59, 59, 256), dtype=float32)', 'tf.Tensor(shape=(1, 61, 61, 256), dtype=float32)']

I've follow your README and did all the steps. If you can clarify me it will be really helpful... Thanks in advance

bruno-darochac avatar Jun 28 '22 14:06 bruno-darochac

Hi, your work really interrested me for my Bachelor work, but while I was trying to launch it this error apears :

Dimensions must be equal, but are 59 and 61 for '{{node resnet50v2/conv2_block1_out/add}} = AddV2[T=DT_FLOAT](resnet50v2/conv2_block1_0_conv/BiasAdd, resnet50v2/conv2_block1_3_conv/BiasAdd)' with input shapes: [1,59,59,256], [1,61,61,256].

Call arguments received by layer "conv2_block1_out" (type Add):
  • inputs=['tf.Tensor(shape=(1, 59, 59, 256), dtype=float32)', 'tf.Tensor(shape=(1, 61, 61, 256), dtype=float32)']

I've follow your README and did all the steps. If you can clarify me it will be really helpful... Thanks in advance

I have met this problem too,do you solve it?

STRUGGLE1999 avatar Jul 11 '22 04:07 STRUGGLE1999

image

Could anybody help me? When I launched the demo.py,it broke this error,and I have surfed the Internet for searching the answer,but I still couldn't sovle it?I would appreciate it if somebody help me!

STRUGGLE1999 avatar Jul 11 '22 04:07 STRUGGLE1999

Hi, your work really interrested me for my Bachelor work, but while I was trying to launch it this error apears :

Dimensions must be equal, but are 59 and 61 for '{{node resnet50v2/conv2_block1_out/add}} = AddV2[T=DT_FLOAT](resnet50v2/conv2_block1_0_conv/BiasAdd, resnet50v2/conv2_block1_3_conv/BiasAdd)' with input shapes: [1,59,59,256], [1,61,61,256].

Call arguments received by layer "conv2_block1_out" (type Add):
  • inputs=['tf.Tensor(shape=(1, 59, 59, 256), dtype=float32)', 'tf.Tensor(shape=(1, 61, 61, 256), dtype=float32)']

I've follow your README and did all the steps. If you can clarify me it will be really helpful... Thanks in advance

I have met this problem too,do you solve it?

I didn't found the problem for the moment sorry :/

bruno-darochac avatar Jul 11 '22 09:07 bruno-darochac

Ok,thank you anyway!

@.***

 

------------------ 原始邮件 ------------------ 发件人: "russoale/hmr2.0" @.>; 发送时间: 2022年7月11日(星期一) 下午5:26 @.>; @.@.>; 主题: Re: [russoale/hmr2.0] Question : Problem while launching the demo.py (Issue #21)

Hi, your work really interrested me for my Bachelor work, but while I was trying to launch it this error apears : Dimensions must be equal, but are 59 and 61 for '{{node resnet50v2/conv2_block1_out/add}} = AddV2[T=DT_FLOAT](resnet50v2/conv2_block1_0_conv/BiasAdd, resnet50v2/conv2_block1_3_conv/BiasAdd)' with input shapes: [1,59,59,256], [1,61,61,256]. Call arguments received by layer "conv2_block1_out" (type Add): • inputs=['tf.Tensor(shape=(1, 59, 59, 256), dtype=float32)', 'tf.Tensor(shape=(1, 61, 61, 256), dtype=float32)']

I've follow your README and did all the steps. If you can clarify me it will be really helpful... Thanks in advance

I have met this problem too,do you solve it?

I didn't found the problem for the moment sorry :/

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

STRUGGLE1999 avatar Jul 11 '22 09:07 STRUGGLE1999

Hi, your work really interrested me for my Bachelor work, but while I was trying to launch it this error apears :

Dimensions must be equal, but are 59 and 61 for '{{node resnet50v2/conv2_block1_out/add}} = AddV2[T=DT_FLOAT](resnet50v2/conv2_block1_0_conv/BiasAdd, resnet50v2/conv2_block1_3_conv/BiasAdd)' with input shapes: [1,59,59,256], [1,61,61,256].

Call arguments received by layer "conv2_block1_out" (type Add):
  • inputs=['tf.Tensor(shape=(1, 59, 59, 256), dtype=float32)', 'tf.Tensor(shape=(1, 61, 61, 256), dtype=float32)']

I've follow your README and did all the steps. If you can clarify me it will be really helpful... Thanks in advance

Same problem here unfortunately

SimonLisowski avatar Jul 12 '22 19:07 SimonLisowski

When I run the demo.py,it broke this error: How do I solve it?Please help me.

Traceback (most recent call last): File "demo.py", line 68, in visualize(renderer, original_img, params, vertices, cam, joints) File "../visualise/vis_util.py", line 178, 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 39, 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 867, 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 25, in import pyglet.gl as gl # NOQA File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/init.py", line 95, in from pyglet.gl.gl import * File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/gl.py", line 45, in 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 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 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.

STRUGGLE1999 avatar Jul 13 '22 09:07 STRUGGLE1999

it'll work if you change the version of TensorFlow to 2.3.0

AphroDatalyst avatar Feb 25 '23 11:02 AphroDatalyst

image

Could anybody help me? When I launched the demo.py,it broke this error,and I have surfed the Internet for searching the answer,but I still couldn't sovle it?I would appreciate it if somebody help me!

I have the same problem. Have you solved it?

XaryWorld avatar Apr 07 '23 10:04 XaryWorld

image Could anybody help me? When I launched the demo.py,it broke this error,and I have surfed the Internet for searching the answer,but I still couldn't sovle it?I would appreciate it if somebody help me!

I have the same problem. Have you solved it?

I have run the demo in this experiment, and I share approach in CSDN, maybe you can visit https://blog.csdn.net/qq_45257495/article/details/125944038

STRUGGLE1999 avatar Jun 01 '23 01:06 STRUGGLE1999