Skip to content

paddle训练模型转换成pytorch后,模型比paddle的infer模型大很多 #104

@buptlj

Description

@buptlj

对于ppocrv4系列模型,paddle训练模型转换成pytorch后,模型比paddle的infer模型大很多。
比如,ch_PP-OCRv4_rec_train模型转成pytorch后26M左右,pt转成onnx后25M左右,但是paddle的infer模型只有10M左右,都是fp32。
检测模型也是类似,ch_PP-OCRv4_det_train模型转成pytorch后14M左右,但是paddle的infer模型只有5M左右,也都是fp32。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions