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

Update PP-OCRv2预测部署实战.ipynb #5058

Closed
wants to merge 4 commits into from

Conversation

RangeKing
Copy link
Contributor

@RangeKing RangeKing commented Dec 25, 2021

https://github.com/PaddlePaddle/PaddleOCR/blob/dygraph/notebook/notebook_ch/5.ppocrv2_inference_deployment/PP-OCRv2%E9%A2%84%E6%B5%8B%E9%83%A8%E7%BD%B2%E5%AE%9E%E6%88%98.ipynb

  1. 按照文档教程执行命令,并不会如4.3所说会在当前文件夹多出ppocrv2_det_mobile_servingppocrv2_det_mobile_client的文件夹,而是ppocrv2_det_servingppocrv2_det_client文件夹。
  2. 4.4节相应的也无需将PaddleOCR/deploy/pdserving/config.yml文件中的两个model_config字段分别修改为ppocrv2_det_mobile_servingppocrv2_rec_mobile_serving,保持默认设置即可。

@paddle-bot-old
Copy link

Thanks for your contribution!

python3.7 tools/infer_kie.py -c configs/kie/kie_unet_sdmgr.yml -o Global.checkpoints=kie_vgg16/best_accuracy Global.infer_img=../wildreceipt/1.txt
```

The prediction result is saved as the folder`./output/sdmgr_kie/predicts_kie.txt`, and the visualization result is saved as the folder`/output/sdmgr_kie/kie_results/`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is saved as the folder 翻译有误,请进一步排查其他问题

Copy link
Contributor Author

@RangeKing RangeKing Jan 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is saved as the folder 翻译有误,请进一步排查其他问题

此pr原意是修复PP-OCRv2预测部署实战.ipynb,donkey老师已另提pr修复, 所以我把这个pr关了。kie_en.md的问题在 #5086 中修复。

@Evezerest Evezerest added the community Improvement from the community label Jan 6, 2022
@littletomatodonkey
Copy link
Collaborator

你好,感谢反馈!notebook中的内容表述确实有问题,不过你的pr中关于该notebook修改了太多的内容,这里单独提了个pr哈,可以参考下:#5185

1. fix typo
2. add code block type
@RangeKing RangeKing closed this Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Improvement from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants