Commit Graph

25 Commits

Author SHA1 Message Date
liuyhwangyh
82ee20f447 fix issue #845 (#861)
* fix #845

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
2024-05-23 20:34:52 +08:00
xingjun.wang
48c0d2a9af add 1.6 2023-05-22 10:53:18 +08:00
ly103369
52e443556f change output oftask text to image to list of images
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11437035

* stablediffusion io format

* text2img task format to output_imgs and numpy list

* other text2img io format
2023-01-15 13:30:10 +00:00
yichang.zyc
d78fe495ee add structure tasks: sudoku & text2sql
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11314581
2023-01-09 15:53:49 +08:00
yichang.zyc
0c79b57fcc support batch infer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11170755
2022-12-28 12:17:36 +08:00
yichang.zyc
90034236ab ofa asr support url 2022-12-03 08:49:11 +08:00
shiyi.zxh
7661470350 ofa增加asr任务
ofa增加asr任务infer
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10761019
2022-11-25 12:16:33 +08:00
wenmeng.zwm
7c0d7f872c [to 43878347] support batch inference in pipeline
It is recommented that each pipleine should implement `_batch`  to make a list of preprocessed data into a batched data dict.

Then  by paasing batch_size=n  we can use batch inference in pipline, for example
```python
img_captioning = pipeline(
            Tasks.image_captioning,
            model='damo/ofa_image-caption_coco_large_en')

results = img_captioning(
            [{
                'image': 'data/test/images/image_captioning.png'
            } for _ in range(6)],
            batch_size=2)
```

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10051193
2022-11-24 14:31:00 +08:00
menrui.mr
c7b0787049 修复初始化过程参数未生效问题
此前文生图模型没有加载configuration.json中的参数 影响默认配置
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10558026
2022-10-27 23:29:08 +08:00
yichang.zyc
683ee5bfed [to #42322933]use Tasks.ocr_recognition
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10490937
2022-10-22 17:01:03 +08:00
liugao.lg
baff7c5b64 [to #42322933]add ofa-ocr-recogniiton pipeline
新增ofa关于日常场景文字识别的任务,主要包括:
1、新增pipeline及task名称定义;
2、新增pipeline、task、model及prepreocess核心类方法的代码逻辑;
3、其它同步修正的小细节逻辑;
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10471089
2022-10-21 09:11:15 +08:00
wenmeng.zwm
65bea053af [to #44902165] feat: Add input signature for pipeline
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10233235

* add input definition for pipeline


* support multiple input format for single pipeline


*  change param for body_3d_keypoints
2022-10-09 18:59:07 +08:00
yichang.zyc
b537bb8c27 fix vg return value
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10207239
2022-09-21 18:57:34 +08:00
Yingda Chen
e0ef60ca9b [to #42322933] skip demo test by default 2022-09-09 14:56:33 +08:00
lingcai.wl
7a49fa1cc6 [to #44657982] add unittest for demo and demotest utils
unittest for demo service
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10006180
2022-09-08 14:08:51 +08:00
yingda.chen
04bb8061e6 [to #42322933]move postprocess helper into utilities
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9856286
2022-08-23 14:27:19 +08:00
Yingda Chen
63233c2122 Revert "[to #42322933]move postprocess helper into utilities"
This reverts commit 4cc0395ac5.
2022-08-23 12:13:15 +08:00
Yingda Chen
4cc0395ac5 [to #42322933]move postprocess helper into utilities 2022-08-23 12:11:49 +08:00
yingda.chen
45620dbc7f [to #42322933]clean up test level
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9662182

    * clean up test level
2022-08-06 12:22:17 +08:00
yichang.zyc
32c2adb650 [to #42322933] fix: vqa demo适配无preprocessor 和 相关问题 cr:https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9638497
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9638497
2022-08-04 17:24:44 +08:00
menrui.mr
cd577f8ba0 [to #42322933] Add ofa-text-to-image-synthesis to maas lib
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9590940
2022-08-04 15:33:31 +08:00
yichang.zyc
cb12a7c6f8 [to #42322933] fea: support Chinese, eg: visual-grounding https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9627026
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9627026
2022-08-03 21:25:16 +08:00
yichang.zyc
9db97366eb [to #42322933] fix sample collate bug
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9615938

    * add init and make demo compatible

* make demo compatible

* fix comments

* add distilled ut

* Merge remote-tracking branch 'origin/master' into ofa/bug_fix

* fix sample collate bug

* Merge remote-tracking branch 'origin/master' into ofa/bug_fix

# Conflicts:
#	tests/pipelines/test_ofa_tasks.py

* Merge remote-tracking branch 'origin/master' into ofa/bug_fix

* fix sample collate bug
2022-08-02 22:17:00 +08:00
yichang.zyc
21de1e7db0 [to #42322933] add init and make demo compatible link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9606656
add init and make demo compatible
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9606656

    * add init and make demo compatible

* make demo compatible

* fix comments

* add distilled ut

* Merge remote-tracking branch 'origin/master' into ofa/bug_fix
2022-08-02 20:42:13 +08:00
yichang.zyc
d1d2c96dd9 add 6 ofa tasks 2022-07-28 23:25:17 +08:00