Commit Graph

1237 Commits

Author SHA1 Message Date
leiqing
672d50a0d1 Update README_CN.md 2022-11-07 00:28:37 +08:00
leiqing
4db162ed53 Update README_EN.md 2022-11-07 00:26:43 +08:00
leiqing
cccdf30941 Update README_CN.md 2022-11-07 00:23:52 +08:00
leiqing
e90aa37223 Update README_EN.md 2022-11-07 00:23:49 +08:00
leiqing
628140dfcb Update README_EN.md 2022-11-07 00:18:54 +08:00
leiqing
276c9be0fe Update README_EN.md 2022-11-07 00:17:38 +08:00
leiqing
9d025a594c Update README_EN.md 2022-11-07 00:10:57 +08:00
leiqing
612836e802 Update README_EN.md 2022-11-07 00:07:10 +08:00
leiqing
554a49c14d Update README_EN.md 2022-11-07 00:06:04 +08:00
leiqing
cd0daa39ff Update README_CN.md 2022-11-07 00:03:05 +08:00
leiqing
9673550d8d Update README_CN.md 2022-11-07 00:01:11 +08:00
leiqing
74ff1d3c78 Update README_EN.md 2022-11-06 23:56:35 +08:00
leiqing
bb0b251a10 Update README_EN.md 2022-11-06 23:54:11 +08:00
leiqing
2c84f19098 Update README_EN.md 2022-11-06 23:53:22 +08:00
leiqing
faa4f9b048 Update README_CN.md 2022-11-06 23:52:13 +08:00
leiqing
25d0521c3e Update README_EN.md 2022-11-06 23:09:58 +08:00
Jack Zhou
08a384f7c2 [Other]Fix the fd tensor copy assignment (#506)
Fix the fd tensor copy assignment
2022-11-06 20:17:35 +08:00
Zheng_Bicheng
6408af263a [Add Model]Add RKPicodet (#495)
* 11-02/14:35
* 新增输入数据format错误判断
* 优化推理过程,减少内存分配次数
* 支持多输入rknn模型
* rknn模型输出shape为三维时,输出将被强制对齐为4纬。现在将直接抹除rknn补充的shape,方便部分对输出shape进行判断的模型进行正确的后处理。

* 11-03/17:25
* 支持导出多输入RKNN模型
* 更新各种文档
* ppseg改用Fastdeploy中的模型进行转换

* 11-03/17:25
* 新增开源头

* 11-03/21:48
* 删除无用debug代码,补充注释

* 11-04/01:00
* 新增rkpicodet代码

* 11-04/13:13
* 提交编译缺少的文件

* 11-04/14:03
* 更新安装文档

* 11-04/14:21
* 更新picodet_s配置文件

* 11-04/14:21
* 更新picodet自适应输出结果

* 11-04/14:21
* 更新文档

* * 更新配置文件

* * 修正配置文件

* * 添加缺失的python文件

* * 修正文档

* * 修正代码格式问题0

* * 按照要求修改

* * 按照要求修改

* * 按照要求修改

* * 按照要求修改

* * 按照要求修改

* test
2022-11-06 17:29:00 +08:00
DefTruth
295af8f467 [FlyCV] update vision processors with latest FlyCV API (#503)
* [Other] Add static create methods to Mat

* [Other] avoid field name conflicts

* [FlyCV] update vision processors with latest FlyCV API

* [FlyCV] update vision processors with latest FlyCV API

* [Model] update rvm cv::Mat usage to FD Mat usage
2022-11-06 13:29:46 +08:00
leiqing
40e080a40c Update README_CN.md 2022-11-06 07:22:05 +08:00
Jason
19a6941f04 [Model] Move letter box resize code (#502)
* Remove letter box resize code

* Remove letter box resize code

* Add model test for mobilenetv2
2022-11-05 17:48:50 +08:00
jiangjiajun
cf8f53e36d Modify model tests 2022-11-05 07:54:16 +00:00
jiangjiajun
f00212aa42 Update model tests 2022-11-05 07:23:44 +00:00
jiangjiajun
38a79ebfdc Update model tests 2022-11-05 07:20:47 +00:00
DefTruth
d22b8d9e3d Merge branch 'develop' into gbd_android 2022-11-04 21:23:26 +08:00
DefTruth
e453902809 [Other] Add static create methods to Mat (#497)
* [Other] Add static create methods to Mat

* [Other] avoid field name conflicts
2022-11-04 18:36:55 +08:00
heliqi
277bec38c7 [Backend & Serving] Serving and Runtime support Clone (#464)
* Add Serving and Runtime use Clone

* support TRT, OpenVINO and Paddle Backend

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-04 17:16:40 +08:00
WJJ1995
61634caf28 [Bug Fix] Fixed for CI (#499)
* add paddle_trt in benchmark

* update benchmark in device

* update benchmark

* update result doc

* fixed for CI
2022-11-04 15:49:28 +08:00
WJJ1995
40d2f395ff [Doc] Update vision_result doc (#494)
* add paddle_trt in benchmark

* update benchmark in device

* update benchmark

* update result doc
2022-11-04 12:14:27 +08:00
Jason
9fa612c24b [Backend] Enable TensorRT BatchedNMSDynamic_TRT plugin (#449)
* Enable TensorRT EfficientNMS plugin

* remove some temporary code

* Update trt_backend.cc

* Update utils.h
2022-11-04 11:46:29 +08:00
WJJ1995
7150e6405c [Model] Add FSANet model (#448)
* add yolov5cls

* fixed bugs

* fixed bugs

* fixed preprocess bug

* add yolov5cls readme

* deal with comments

* Add YOLOv5Cls Note

* add yolov5cls test

* add rvm support

* support rvm model

* add rvm demo

* fixed bugs

* add rvm readme

* add TRT support

* add trt support

* add rvm test

* add EXPORT.md

* rename export.md

* rm poros doxyen

* deal with comments

* deal with comments

* add rvm video_mode note

* add fsanet

* fixed bug

* update readme

* fixed for ci

* deal with comments

* deal with comments

* deal with comments

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-11-04 11:00:35 +08:00
Zheng_Bicheng
ce828ecb38 [Backend And DOC] 改进ppseg文档 + 为RKNPU2后端新增对多输入模型的支持 (#491)
* 11-02/14:35
* 新增输入数据format错误判断
* 优化推理过程,减少内存分配次数
* 支持多输入rknn模型
* rknn模型输出shape为三维时,输出将被强制对齐为4纬。现在将直接抹除rknn补充的shape,方便部分对输出shape进行判断的模型进行正确的后处理。

* 11-03/17:25
* 支持导出多输入RKNN模型
* 更新各种文档
* ppseg改用Fastdeploy中的模型进行转换

* 11-03/17:25
* 新增开源头

* 11-03/21:48
* 删除无用debug代码,补充注释
2022-11-04 09:39:23 +08:00
DefTruth
a36d49a973 [FlyCV] optimize the integration of FlyCV (#492)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android
2022-11-04 09:19:03 +08:00
leiqing
5b1fecd668 Update README_EN.md 2022-11-03 22:29:08 +08:00
leiqing
696c75412e Update README_EN.md 2022-11-03 17:05:44 +08:00
leiqing
6052d6e72b Update README_EN.md 2022-11-03 16:45:11 +08:00
Double_V
9339d52cea [Doc] add en readme for js (#479)
* add contributor

* add package readme

* refine ocr readme

* refine ocr readme

* add en readme about js

* fix bugs

* refine doc
2022-11-03 15:16:35 +08:00
WJJ1995
1db85e0ad9 [Benchmark] Update benchmark (#488)
* add paddle_trt in benchmark

* update benchmark in device

* update benchmark
2022-11-03 11:23:03 +08:00
WinterGeng
3fd54d6884 1.Move EasyEdge Ui code to fastdeploy;
2.Add photo recognition, real-time recognition, album selection recognition, detail page display and other functions.
2022-11-03 10:32:43 +08:00
ChaoII
22d60fdadf [Model] add tracking trail on vis_mot (#461)
* add override mark

* delete some

* recovery

* recovery

* add tracking

* add tracking py_bind and example

* add pptracking

* add pptracking

* iomanip head file

* add opencv_video lib

* add python libs package

Signed-off-by: ChaoII <849453582@qq.com>

* complete comments

Signed-off-by: ChaoII <849453582@qq.com>

* add jdeTracker_ member variable

Signed-off-by: ChaoII <849453582@qq.com>

* add 'FASTDEPLOY_DECL' macro

Signed-off-by: ChaoII <849453582@qq.com>

* remove kwargs params

Signed-off-by: ChaoII <849453582@qq.com>

* [Doc]update pptracking docs

* delete 'ENABLE_PADDLE_FRONTEND' switch

* add pptracking unit test

* update pptracking unit test

Signed-off-by: ChaoII <849453582@qq.com>

* modify test video file path and remove trt test

* update unit test model url

* remove 'FASTDEPLOY_DECL' macro

Signed-off-by: ChaoII <849453582@qq.com>

* fix build python packages about pptracking on win32

Signed-off-by: ChaoII <849453582@qq.com>

* update comment

Signed-off-by: ChaoII <849453582@qq.com>

* add pptracking model explain

Signed-off-by: ChaoII <849453582@qq.com>

* add tracking trail on vis_mot

* add tracking trail

* modify code for  some suggestion

* remove unused import

* fix import bug

Signed-off-by: ChaoII <849453582@qq.com>
Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-03 09:57:07 +08:00
yunyaoXYY
328212f270 Fix PP-OCR Rec model bug (#484)
* Imporve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Make all the model links come from PaddleOCR

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add comments to create API docs

* Improve OCR comments

* Rename OCR and add comments

* Make sure previous python example works

* Make sure previous python example works

* Fix Rec model bug

* Fix Rec model bug

* Fix rec model bug

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-03 00:17:25 +08:00
WJJ1995
3fbfee0710 [Benchmark] Update benchmark build_option (#485)
* add paddle_trt in benchmark

* update benchmark in device
2022-11-02 20:41:40 +08:00
WJJ1995
39229bf4e0 [Bug Fix] Fixed PFLD infer demo (#482)
* support face alignment PFLD

* add PFLD demo

* fixed FaceAlignmentResult

* fixed bugs

* fixed img size

* fixed readme

* deal with comments

* fixed readme

* add pfld testcase

* update infer.py

* add gflags for example

* update c++ readme

* add gflags in example

* fixed for ci

* fixed gflags.cmake

* deal with comments

* update infer demo

* fixed bug in infer.cc

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-02 20:30:00 +08:00
yunyaoXYY
a231c9e7f3 [Quantization] Update quantized model deployment examples and update readme. (#377)
* Add PaddleOCR Support

* Add PaddleOCR Support

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Support

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Supports

* Add PaddleOCRv3 Suport

* Fix Rec diff

* Remove useless functions

* Remove useless comments

* Add PaddleOCRv2 Support

* Add PaddleOCRv3 & PaddleOCRv2 Support

* remove useless parameters

* Add utils of sorting det boxes

* Fix code naming convention

* Fix code naming convention

* Fix code naming convention

* Fix bug in the Classify process

* Imporve OCR Readme

* Fix diff in Cls model

* Update Model Download Link in Readme

* Fix diff in PPOCRv2

* Improve OCR readme

* Imporve OCR readme

* Improve OCR readme

* Improve OCR readme

* Imporve OCR readme

* Improve OCR readme

* Fix conflict

* Add readme for OCRResult

* Improve OCR readme

* Add OCRResult readme

* Improve OCR readme

* Improve OCR readme

* Add Model Quantization Demo

* Fix Model Quantization Readme

* Fix Model Quantization Readme

* Add the function to do PTQ quantization

* Improve quant tools readme

* Improve quant tool readme

* Improve quant tool readme

* Add PaddleInference-GPU for OCR Rec model

* Add QAT method to fastdeploy-quantization tool

* Remove examples/slim for now

* Move configs folder

* Add Quantization Support for Classification Model

* Imporve ways of importing preprocess

* Upload YOLO Benchmark on readme

* Upload YOLO Benchmark on readme

* Upload YOLO Benchmark on readme

* Improve Quantization configs and readme

* Add support for multi-inputs model

* Add backends and params file for YOLOv7

* Add quantized model deployment support for YOLO series

* Fix YOLOv5 quantize readme

* Fix YOLO quantize readme

* Fix YOLO quantize readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Fix bug, change Fronted to ModelFormat

* Change Fronted to ModelFormat

* Add examples to deploy quantized paddleclas models

* Fix readme

* Add quantize Readme

* Add quantize Readme

* Add quantize Readme

* Modify readme of quantization tools

* Modify readme of quantization tools

* Improve quantization tools readme

* Improve quantization readme

* Improve PaddleClas quantized model deployment  readme

* Add PPYOLOE-l quantized deployment examples

* Improve quantization tools readme

* Improve Quantize Readme

* Fix conflicts

* Fix conflicts

* improve readme

* Improve quantization tools and readme

* Improve quantization tools and readme

* Add quantized deployment examples for PaddleSeg model

* Fix cpp readme

* Fix memory leak of reader_wrapper function

* Fix model file name in PaddleClas quantization examples

* Update Runtime and E2E benchmark

* Update Runtime and E2E benchmark

* Rename quantization tools to auto compression tools

* Remove PPYOLOE data when deployed on MKLDNN

* Fix readme

* Support PPYOLOE with OR without NMS and update readme

* Update Readme

* Update configs and readme

* Update configs and readme

* Add Paddle-TensorRT backend in quantized model deploy examples

* Support PPYOLOE+ series
2022-11-02 20:29:29 +08:00
WJJ1995
9437dec9f5 [Model] add PFLD model (#433)
* support face alignment PFLD

* add PFLD demo

* fixed FaceAlignmentResult

* fixed bugs

* fixed img size

* fixed readme

* deal with comments

* fixed readme

* add pfld testcase

* update infer.py

* add gflags for example

* update c++ readme

* add gflags in example

* fixed for ci

* fixed gflags.cmake

* deal with comments

* update infer demo

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-02 11:50:16 +08:00
chenjian
7e64f4088f [Other] Hub feature: add model hub management for fastdeploy (#453)
* add hub tool for fastdeploy

* fix format

* refactor code

* remove EasyDict

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-02 10:22:17 +08:00
Jason
c11f4bac88 Revert "[Doc] add en readme about js web demo and mini-program" (#478)
Revert "[Doc] add en readme about js web demo and mini-program (#475)"

This reverts commit 5a1059ca11.
2022-11-02 10:19:27 +08:00
DefTruth
d8aa11efc8 [Backend] fix lite backend save model error (#474)
* [Backend] fix lite backend save model error

* [Backend] fixed typos
2022-11-02 10:01:02 +08:00
Wang Xinyu
e5c955dd3e [Model] yolo use external stream, avoid reallocating output tensors (#447)
* yolov5 use external stream

* yolov5lite/v6/v7/v7e2etrt: optimize output tensor and cuda stream

* avoid reallocating output tensors

* add input output tensors to FastDeployModel

* add cuda.cmake

* rename to reused_input/output_tensors

* eliminate cmake cuda arch error

* use swap to release input and output tensors

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-02 09:52:27 +08:00
czr-gc
da84da7448 [Serving]: add ipu support for serving. (#10) (#470)
* feat(ipu): add ipu docker for serving. (#10)

* feat(ipu): add ipu docker for serving.

* feat(ipu): enable ipu docker in serving.

* fix(): fix typo and issues in IPU.

* remove unused env path.

* doc(ipu): add ipu docker build doc and fix typo.

* fix(): clean apt cache in docker.

* fix(ipu): fix typo.
2022-11-02 09:50:58 +08:00