WenmuZhou / PytorchOCR

基于Pytorch的OCR工具库,支持常用的文字检测和识别算法

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

检测模型pth转换为onnx报错,configs\det\ch_PP-OCRv3\ch_PP-OCRv3_det_student.yml,

Ivansyf34 opened this issue · comments

报错Exporting the operator hardsigmoid to ONNX opset version 9 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.更换了opset version 9为11 13都不可以
网上搜将 hardsigmoid换为hardtanh,但更换后从paddle转换过来的pth精度就差的不可用了
怎样解决呐