export_model报错
Created by: ARQlalala
错误为,是越界了吗,还是什么原因呐,感谢给看看 File "./pdseg/export_model.py", line 128, in main() File "./pdseg/export_model.py", line 124, in main export_inference_model(args) File "./pdseg/export_model.py", line 88, in export_inference_model infer_prog, startup_prog, phase=ModelPhase.PREDICT) File "/data1/anrongqiao/api/paddlepaddle/models/PaddleCV/PaddleSeg/pdseg/models/model_builder.py", line 298, in build_model logit, axes=[2, 3], starts=[0, 0], ends=valid_shape) File "/data1/anrongqiao/anaconda3/lib/python3.7/site-packages/paddle/fluid/layers/nn.py", line 9818, in slice 'ends': ends}) File "/data1/anrongqiao/anaconda3/lib/python3.7/site-packages/paddle/fluid/layer_helper.py", line 43, in append_op return self.main_program.current_block().append_op(*args, **kwargs) File "/data1/anrongqiao/anaconda3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 1774, in append_op attrs=kwargs.get("attrs", None)) File "/data1/anrongqiao/anaconda3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 1162, in init self._update_desc_attr(attr_name, attr_val) File "/data1/anrongqiao/anaconda3/lib/python3.7/site-packages/paddle/fluid/framework.py", line 1337, in _update_desc_attr self.desc._set_attr(name, val) ValueError: vector::reserve