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

Error

Open STRUGGLE1999 opened this issue 2 years ago • 0 comments

Traceback (most recent call last): File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 774, in set_shape unknown_shape) tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimension 1 in both shapes must be equal, but are 112 and 115. Shapes are [1,112,112,64] and [1,115,115,64].

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "demo.py", line 54, in model = Model() File "/home/XiaoLF/hmr2.0-master/src/main/model.py", line 65, in init self._build_model() File "/home/XiaoLF/hmr2.0-master/src/main/model.py", line 78, in _build_model self.generator.build(input_shape=gen_input) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/engine/training.py", line 413, in build self.call(x, **kwargs) File "/home/XiaoLF/hmr2.0-master/src/main/generator.py", line 91, in call features = self.resnet50V2(inputs, **kwargs) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1037, in call outputs = call_fn(inputs, *args, **kwargs) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/engine/functional.py", line 415, in call inputs, training=training, mask=mask) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/engine/functional.py", line 550, in _run_internal_graph outputs = node.layer(*args, **kwargs) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1037, in call outputs = call_fn(inputs, *args, **kwargs) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/keras/layers/convolutional.py", line 273, in call outputs.set_shape(out_shape) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 777, in set_shape raise ValueError(str(e)) ValueError: Dimension 1 in both shapes must be equal, but are 112 and 115. Shapes are [1,112,112,64] and [1,115,115,64].

STRUGGLE1999 avatar Jul 11 '22 06:07 STRUGGLE1999