deeplabv3+ eval 报维度错误
Created by: xiegegege
在paddle1.5分支下,deeplabv3+ 的评估有如下报错: Traceback (most recent call last): File "./eval.py", line 131, in fetch_list=[pred, miou, out_wrong, out_correct]) File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/executor.py", line 650, in run use_program_cache=use_program_cache) File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/executor.py", line 748, in _run exe.run(program.desc, scope, 0, True, True, fetch_var_name) paddle.fluid.core_avx.EnforceNotMet: Invoke operator bilinear_interp error. Python Callstacks: File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/framework.py", line 1699, in append_op attrs=kwargs.get("attrs", None)) File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/layer_helper.py", line 43, in append_op return self.main_program.current_block().append_op(*args, **kwargs) File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/layers/nn.py", line 7637, in image_resize attrs=attrs) File "/opt/_internal/cpython-3.6.0/lib/python3.6/site-packages/paddle/fluid/layers/nn.py", line 7742, in resize_bilinear align_corners, align_mode) File "./eval.py", line 84, in img = fluid.layers.resize_bilinear(img, image_shape) C++ Callstacks: Enforce failed. Expected dim_x.size() == 4, but received dim_x.size():3 != 4:4. X's dimension must be 4 at [/ssd1/xiege/paddle_ce/Paddle/paddle/fluid/operators/interpolate_op.cc:40]