File "test.py", line 104, in generate_bbox
reg])
File "/root/anaconda3/envs/chineseocr/lib/python3.6/site-packages/numpy/core/shape_base.py", line 234, in vstack
return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
ValueError: all the input array dimensions except for the concatenation axis must match exactly
我在将模型转化为pb模型并尝试加载的时候,程序在处理到generate_bbox的时候报错
对应的代码:
这里np.vstack里面array的shape是不是不统一啊,还是说我模型加载的有问题呢?