Commit Graph

1132 Commits

Author SHA1 Message Date
Zeyu Chen b6e4c39ed0 Update README_EN.md 2022-11-14 13:32:34 +08:00
DefTruth 8c6b1935c2 [Android] fixed OcrMainActivity setting errors (#578)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption

* [Android] fixed OcrMainActivity setting errors
2022-11-14 12:50:15 +08:00
DefTruth f1ebcf7a13 [Android] remove unnecessary option in Java RuntimeOption (#577)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption
2022-11-14 10:48:02 +08:00
Jason bd1938a08f fix compile on mac 2022-11-14 10:10:47 +08:00
Jason 51818ed825 [Other] Optimize backend selection strategy (#574)
* Optimize backend selection strategy

* remove debug code

* Update runtime.cc

* Update picodet.cc

* Update yolox.cc

* fix ci
2022-11-13 20:15:20 +08:00
leiqing eff33d0e87 Update README_CN.md 2022-11-13 19:16:11 +08:00
leiqing 1de1495430 Update README_EN.md 2022-11-13 19:15:34 +08:00
leiqing e212f38ce9 Update README_EN.md 2022-11-13 19:07:41 +08:00
leiqing 54850b9bbc Update README_CN.md 2022-11-13 18:59:06 +08:00
leiqing f9c7adf2b2 Update README_CN.md 2022-11-13 18:57:02 +08:00
DefTruth 6a368f3448 [Android] Support segmentation and facedet in Android (#567)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error
2022-11-13 17:47:50 +08:00
Zeyu Chen 98cab48f8a Add CODE_OF_CONDUCT.md (#573)
Create CODE_OF_CONDUCT.md

Add code of conduct for fastdeploy
2022-11-12 16:58:41 +08:00
Jason f2e492c55b [Other] Add function alias (#571)
Add function alias
2022-11-12 14:53:39 +08:00
heliqi 2693434190 [Serving]optimize serving build script (#569)
* optimizer serving build

* optimizer serving build

* optimizer serving build
2022-11-12 14:01:50 +08:00
Zeyu Chen 0a39b2c5dd Update README_EN.md 2022-11-12 12:02:02 +08:00
yeliang2258 f74974c4a5 [Backend] Update p2o version to 1.0.3 (#570)
update p2o version to 1.0.3
2022-11-12 09:38:23 +08:00
Jason 894d563469 Update README_EN.md 2022-11-11 15:02:22 +08:00
yunyaoXYY 17a1189199 [Other] Set TRT dynamic input shape for PPOCR examples. (#566)
* 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

* Add SetTrtMaxBatchSize function for TensorRT

* Add SetTrtMaxBatchSize Pybind

* Add set_trt_max_batch_size python function

* Set TRT dynamic shape in PPOCR examples

* Set TRT dynamic shape in PPOCR examples

* Set TRT dynamic shape in PPOCR examples

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-11 14:05:01 +08:00
chenjian 0d0389f8d9 [Other] Update example codes using download_model api (#486)
* update example codes using download_model api

* add resource files to repo

* add resource files to repo

* fix

* reduce unused lib

* fix
2022-11-11 13:35:12 +08:00
heliqi b0a30a7b10 [Serving]Add PPCls serving examples (#555)
* add ppcls serving examples

* fix ppcls/serving docs

* fix code style
2022-11-11 13:32:46 +08:00
WJJ1995 4bbfd977c7 [Other] Add onnx_ort_runtime cpp/python demos (#565)
* add onnx_ort_runtime demo

* rm in requirements
2022-11-11 12:47:06 +08:00
Jason 224c2cf1e8 Create devcontainer.json 2022-11-11 11:56:38 +08:00
tripleMu 8ac9354498 [DOCS] Fix url error (#563)
* Fix path error

* Fix typo
2022-11-10 23:04:51 +08:00
Jason 04d364d9d6 [Doc] update version number to 0.6.0 (#552)
update version number
2022-11-10 19:11:24 +08:00
huangjianhui 0d57562c99 [Bug Fix] Fix bugs in release task scripts (#560)
* Fix release_task cpp_run.sh

 Author:    felixhjh <852142024@qq.com>
 Date:      Thu Nov 10 07:26:48 2022 +0000

* Add option for infer_ppyoloe.cc

  author:    felixhjh <852142024@qq.com>

* Fix bug in release task scripts
2022-11-10 18:53:54 +08:00
leiqing 5b338ed898 Update README_CN.md 2022-11-10 18:13:44 +08:00
leiqing 7d7ac80da9 Update README_EN.md 2022-11-10 18:07:55 +08:00
yingshengBD c7f5d4a168 [ Model ][rk1126] add picodet (#557)
[Example][rk1126] add picodet
2022-11-10 16:21:37 +08:00
heliqi 6bad97351f [Other]Add dlpack (#556)
add dlpack
2022-11-10 16:00:08 +08:00
Jack Zhou d4995e5468 [Model] Add stable diffusion model based on fastdeploy (#297)
* Add stable diffusion model base on fastdeploy

* Add sd infer

* pipelines->multimodal

* add create_ort_runtime

* use fp16 input

* fix pil

* Add optimize unet model

* add hf license

* Add workspace args

* Add profile func

* Add schedulers

* usrelace torch.Tenosr  byp.ndarray

* Add readme

* Add trt shape setting

* add dynamic shape

* Add dynamic shape for stable diffusion

* fix max shape setting

* rename tensorrt file suffix

* update dynamic shape setting

* Add scheduler output

* Add inference_steps and benchmark steps

* add diffuser benchmark

* Add paddle infer script

* Rename 1

* Rename infer.py to torch_onnx_infer.py

* Add export torch to onnx model

* renmove export model

* Add paddle export model for diffusion

* Fix export model

* mv torch onnx infer to infer

* Fix export model

* Fix infer

* modif create_trt_runtime create_ort_runtime

* update export torch

* update requirements

* add paddle inference backend

* Fix unet pp run

* remove print

* Add paddle model export and infer

* Add device id

* remove profile to utils

* Add -1 device id

* Add safety checker args

* remove safety checker temporarily

* Add export model description

* Add predict description

* Fix readme

* Fix device_id description

* add timestep shape

* add use fp16 precision

* move use gpu

* Add EulerAncestralDiscreteScheduler

* Use EulerAncestralDiscreteScheduler with v1-5 model

* Add export model readme

* Add link of exported model

* Update scheduler on README

* Addd stable-diffusion-v1-5
2022-11-10 14:59:07 +08:00
yeliang2258 fa807340be [Backend] Add Rockchip RV1126 deploy support through PaddleLite TIM-VX (#439)
* add rk1126 support

* update lib

* fix compile bugs

* update doc

* fix complie bug

* update doc

* update doc

* update code

* support model bigger than 2G

* update code

* update code

* update code

* update doc

* update code

* fix bug

* update code

* update code

* update code

* update doc

* update info

* code style check

* update code

* update doc

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-10 10:05:47 +08:00
Zheng_Bicheng ca0de42d0b [Model] 新增scrfd rknpu2代码 (#504)
* * 新增scrfd rknpu2代码

* * 新增scrfd python代码

* 修正文档

* 修正文档以及部分错误

* 修改文档

* 修复部分错误

* 修复部分错误

* 修复部分错误

* scrfd更新代码

* scrfd更新代码
2022-11-10 10:05:15 +08:00
leiqing 3319a5bdb2 Update README_EN.md 2022-11-09 22:23:01 +08:00
leiqing eb2cf1afa6 Update README_EN.md 2022-11-09 22:15:46 +08:00
Zheng_Bicheng 795833ad2b [Doc]Fix Doc Error (#547)
* 修正RKPicodet文档

* 修正yolov5文档模型大小的错误

* 修复picodet example代码错误

* 修正文档错误,以及example模型错误
2022-11-09 18:39:58 +08:00
leiqing 52314d6f5f Update README_EN.md 2022-11-09 18:18:37 +08:00
leiqing 9a7a2418a1 Update README_EN.md 2022-11-09 18:15:57 +08:00
leiqing a72fbc45d6 Update README.md 2022-11-09 17:48:24 +08:00
WJJ1995 2d508a40ec [Doc] Fixed Typo in headpose (#544)
* add paddle_trt in benchmark

* update benchmark in device

* update benchmark

* update result doc

* fixed for CI

* update python api_docs

* update index.rst

* add runtime cpp examples

* deal with comments

* Update infer_paddle_tensorrt.py

* Add runtime quick start

* deal with comments

* fixed reused_input_tensors&&reused_output_tensors

* fixed docs

* fixed headpose typo

* fixed typo

Co-authored-by: Jason <928090362@qq.com>
2022-11-09 17:03:49 +08:00
Jason 30412cb599 Update paddle2onnx.cmake 2022-11-09 15:32:48 +08:00
yunyaoXYY f1fb9748b3 [Doc] Fix PPOCR readme (#540)
* 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 comments to create API docs

* Improve OCR comments

* fix conflict

* Fix OCR Readme

* Fix PPOCR readme

* Fix PPOCR readme
2022-11-09 14:39:11 +08:00
WJJ1995 581962bcbb [Doc] Update download_prebuilt_libraries.md (#541)
* add paddle_trt in benchmark

* update benchmark in device

* update benchmark

* update result doc

* fixed for CI

* update python api_docs

* update index.rst

* add runtime cpp examples

* deal with comments

* Update infer_paddle_tensorrt.py

* Add runtime quick start

* deal with comments

* fixed reused_input_tensors&&reused_output_tensors

* fixed docs

Co-authored-by: Jason <928090362@qq.com>
2022-11-09 14:38:50 +08:00
Jason 070458fc72 Update download_prebuilt_libraries.md 2022-11-09 14:12:07 +08:00
Jason f2fed7959b [Other] Add namespace for functions (#538)
Add namespace for functions
2022-11-09 13:57:53 +08:00
yunyaoXYY 4706a7c32a [Backend] Add SetTrtMaxBatchSize function for TensorRT. (#526)
* 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

* Add SetTrtMaxBatchSize function for TensorRT

* Add SetTrtMaxBatchSize Pybind

* Add set_trt_max_batch_size python function

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-09 13:57:36 +08:00
Zheng_Bicheng ad04a4377c [Doc]Fix doc error (#539)
* 修正RKPicodet文档

* 修正yolov5文档模型大小的错误
2022-11-09 13:57:02 +08:00
Jason a37c043979 Update download_prebuilt_libraries.md 2022-11-09 11:37:34 +08:00
Jason 8bf571a127 Update download_prebuilt_libraries.md 2022-11-09 11:37:21 +08:00
Jason 2c9c028dfd Update README.md 2022-11-09 11:31:01 +08:00
Jason 2aa732ed9b Update README.md 2022-11-09 11:30:25 +08:00