Closed weirman closed 8 months ago
已解决,发现官方有解决方案,可能是 paddle2onnx
没有及时更改输出信息?
python -m paddle2onnx.optimize --input_model model.onnx \
--output_model new_model.onnx \
--input_shape_dict "{'x':[1,3,224,224]}"
paddle.fluid 请问如何解决
大佬好,我使用
paddle2onnx --input_shape_dict
出现所以打算使用
paddle_infer_shape.py
来解决这个问题,但是发现以下异常:查看后官方文档发现在paddle2.5的时候已经遗弃了
paddle.fluid
。这个问题大佬还会再跟进修复吗?以及
--input_shape_dict
动态输入是否有其他解决方案呢?