PaddleUtils
PaddleUtils copied to clipboard
Some tools to operate PaddlePaddle model
大人,时代变了
paddlepaddle2.5版本paddle.fluid了,超过2.5版本会报错
 按照您给的方法指定输入输出尺寸,其中:只有输入尺寸和box的output尺寸被指定了,cls的output尺寸依旧没有指定
the model of ppocr_rec.onnx is covert from https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_infer.tar I run the following cmd: python PaddleUtils/onnx/onnx_infer_shape.py --input ppocr_rec.onnx --output new_model.onnx ======= [[-1, 120], [-1]] p2o.Concat.0 0 Traceback (most recent call last):...
用了paddle_infer_shape.py进行优化后输出为unk__6(很奇怪,这里不能导出为1嘛?) 