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

pytorchocr_utility.py里缺少PSE检测模型的network_config #60

Open
CallMeFrozenBanana opened this issue Nov 16, 2022 · 1 comment

Comments

@CallMeFrozenBanana
Copy link

但外面det_algorithm又是有PSE这一项的

@CallMeFrozenBanana
Copy link
Author

原来是需要特别指定yml,具体如下:

python ./tools/infer/predict_system.py --image_dir ./doc/imgs_bd --det_model_path ./pretrained/det_mv3_pse_v2.0_infer.pth --rec_model_path ./pretrained/ch_ptocr_v3_rec_infer.pth --use_angle_cls 1 --cls_model_path ./pretrained/ch_ptocr_mobile_v2.0_cls_infer.pth --det_algorithm PSE --det_yaml_path ./configs/det/det_mv3_pse.yml

python ./tools/infer/predict_det.py --det_model_path ./pretrained/det_mv3_pse_v2.0_infer.pth --image_dir ./doc/imgs_bd --det_algorithm PSE --det_yaml_path ./configs/det/det_mv3_pse.yml

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

1 participant