Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问pth模型如何使用paddle进行训练? #79

Open
zhangqiqi1228 opened this issue Nov 22, 2023 · 2 comments
Open

请问pth模型如何使用paddle进行训练? #79

zhangqiqi1228 opened this issue Nov 22, 2023 · 2 comments

Comments

@zhangqiqi1228
Copy link

zhangqiqi1228 commented Nov 22, 2023

作者,您好!
看到您之前的回复有说这里的模型,可以直接使用paddle框架进行训练。
请问具体是用哪个脚本进行训练呢?
trian.py脚本好像只支持paddle的模型格式。

command:
python tools/train.py -c configs/det/det_r50_vd_db.yml -o Global.pretrained_model=./pt_models/det_r50_vd_db_v2.0_infer.pth

报错:
AssertionError: The ./pt_models/det_r50_vd_db_v2.0_infer.pth.pdparams does not exists!

@frotms
Copy link
Owner

frotms commented Nov 22, 2023

@zhangqiqi1228 需要用PaddleOCR的工程训练,将训好的模型再转成PyTorch

@zhangqiqi1228
Copy link
Author

@zhangqiqi1228 需要用PaddleOCR的工程训练,将训好的模型再转成PyTorch

明白了,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants