Commit Graph

378 Commits

Author SHA1 Message Date
qianming.lm
ca1c720cd9 [to #42322933] add cv_resnet50_live-category to maas lib
由于全规需要,修改了透出标签,将后台类目映射为前台类目,并修改了代码,不再透出层级类目,只透出最终细分类目。
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9615279
2022-08-02 22:23:13 +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
xuangen.hlh
a3c460b139 [to #42322933]rename imagen to diffusion
出于可能法务风险,将复现的Google 「Imagen」算法重命名为「diffusion」。
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9608897
2022-08-02 22:15:45 +08:00
wenmeng.zwm
20cb4043d0 [to #43115513] bump version to 0.3.0 v0.3.0 2022-08-02 22:01:54 +08:00
mulin.lyh
23658a63d7 [to #43751767]fix: get_model api url parameter is error
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9611548

    * [to #43751767]fix: get_model api url parameter is error
2022-08-02 21:58:32 +08:00
wenmeng.zwm
c79ddf194d [to #43726282] fix multi-model requirements missing
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9615507
2022-08-02 21:58:15 +08:00
wenmeng.zwm
0e2202fa1a [to #43727050] remove decord from requirements and print installation hint when using specific model
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9615408
2022-08-02 21:57:58 +08:00
shichen.fsc
e134254c6c [to #42322933] add foreign language supported, and audio data resample -- asr inference
asr推理增加对其他外文的支持,包括计算wer。
增加对音频重采样,根据传入音频的采样率和当前模型支持的采样率,在easyasr内部完成重采样。注意,输入数据为pcm时,需要同时传入pcm的sample rate,否则当成16K。
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9580609
2022-08-02 21:52:39 +08:00
baiguan.yt
3f7a5c8279 [to #42322933]人像增强
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9590794
2022-08-02 21:33:32 +08:00
hejunjie.hjj
7d87d8213d fix bug when img-ins-seg pipeline input is Image.Image or numpy.ndarray 2022-08-02 21:12:41 +08:00
yuze.zyz
7d348b9ae8 [to #42322933] change dummy dataset to msdataset
1. change dummy dataset to msdataset
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9586561

    * change dummpy dataset to msdataset

* add pre-commit ignore

* Merge commit 'e93339ea877b93fa0c1b9ebfeee8877f78facb0e' into feat/ms_dataset_case

* Merge commit '34840fc5d8a8ee8cd1278efea913d42db522f9c8' into feat/ms_dataset_case

* remove useless ip hosts.

* Merge commit '47dda0a5f9b4b4466177d9acae097a53f8bea8f7' into feat/ms_dataset_case

* Merge commit '21de1e7db035843c6c2caccf382a6e4f7071f96b' into feat/ms_dataset_case
2022-08-02 21:07:47 +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
wenmeng.zwm
7798a6250a [to #43112692] stardarized task name and output
1. task name and output definition: [link](https://alidocs.dingtalk.com/i/nodes/KOEmgBoGwD78vd2bAry3VndLerP9b30a?nav=spaces&navQuery=spaceId%3Dnb9XJNlZxbgrOXyA&iframeQuery=utm_source%3Dportal%26utm_medium%3Dportal_space_file_tree)

2. rearrange task definition and add more outputs definition for tasks

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9585469
2022-08-02 20:21:05 +08:00
mulin.lyh
47dda0a5f9 [to #43698011]feat: login with access token 2022-08-02 18:16:28 +08:00
jiangnana.jnn
34840fc5d8 [to #43627720] support ReduceLROnPlateau and fix lr scheduler
1. Support `ReduceLROnPlateau` lr scheduler, and add  `PlateauLrSchedulerHook` for it
2. Support custom `optimizer_hook` and `lr_scheduler_hook`
3. Remove function of save best ckpt from `EvaluationHook`, replace with `BestCkptSaverHook`
4. `evaluation_loop` return metric values directly,move metric computation to `single_gpu_test` and `multi_gpu_test`
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9584322

    * [to #43627720] support ReduceLROnPlateau and fix lr scheduler
2022-08-02 14:49:48 +08:00
baishuai.bs
06186d4829 [to #43133921] change name(virtual-tryon to virtual-try-on)
replace virtual-tryon with virtual-try-on

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9600141
2022-08-02 14:36:44 +08:00
bin.xue
b2be1abcad [to #42322933] feat: aec pipeline also accept tuple and add test 2022-08-02 14:03:11 +08:00
myf272609
6940d7720e [to #42322933] rename task of person_image_cartoon and fix a bug
- 应工程同学要求,修改原使用的一级task(image-generation)至新二级task(image-cartoon)

- 修复无人脸时无图像结果返回,更新为 返回背景卡通化后的图像(无人脸卡通化处理)
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9594912
2022-08-02 13:09:49 +08:00
wendi.hwd
8a6c37fd6b [to #42322933] update detection task name
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9597835
2022-08-02 12:02:31 +08:00
jianqiang.rjq
fa4f9db5fa [to #42322933]Merge request from 雪洛:rename-style-transfer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9588372
2022-08-02 11:01:09 +08:00
yingda.chen
6e9dcc6327 [to #42322933]numpy version
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9598631
2022-08-02 10:37:40 +08:00
tianxi.tl
fc89cf8f3e upload image_to_image_generation code
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9564875
2022-08-02 00:04:26 +08:00
bin.xue
558cf01d57 [to #42322933]feat: split speech-signal-process task to subtasks 2022-08-01 20:56:32 +08:00
dangwei.ldw
e93339ea87 [to #42322933]Merge request from 仲理:feat/product_feature
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9515599
2022-08-01 17:53:22 +08:00
yingda.chen
2e884cfdcb [to #42322933]specifiy torch model to inherit from TorchModel
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9588834
2022-08-01 16:50:55 +08:00
bin.xue
d987ac634b [to #42322933] test: disable tests of speech-signal-process task for splitting sub tasks 2022-08-01 16:16:43 +08:00
wenmeng.zwm
34acc596e1 [to #43115513] fix module path error for ast and add numpy<=1.18
1. fix module path error,   if code path contains multiple `modelscope` str,  use the last one as the start position of  modelscope source direcotry
2. add numpy version constraint <=1.18
3. add __init__.py to models/cv/image_to_image_translation
4. split audio requirements from all

 Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9587929
2022-08-01 15:42:58 +08:00
Yingda Chen
9471f0a9a7 [to #42322933] disable ner test temporarily 2022-08-01 13:35:16 +08:00
hemu.zp
8f060d0bc3 [to #42322933] Add GPT3 base model
添加 GPT3 base 模型,复用 text generation pipeline
2022-07-30 11:03:01 +08:00
zhangzhicheng.zzc
effacffe35 [to #42322933] fix ast bugs and add exception
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9578665
2022-07-29 22:38:46 +08:00
zhangzhicheng.zzc
dde2a4cec6 [to #42322933]bug fixed for csanmnt
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9578933
2022-07-29 22:14:52 +08:00
Yingda Chen
b96338996c [to #42322933]update hub ip 2022-07-29 13:52:35 +08:00
baishuai.bs
667a7b9ba7 [to #43133921] visual try-on Task
虚拟试衣修改输入为tuple格式
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9561416

    * change input to tuple

* support dict or tuple input

* Merge branch 'master' into cv/virtual_tryon

* Merge remote-tracking branch 'origin/master' into cv/virtual_tryon
2022-07-29 12:51:36 +08:00
feiwu.yfw
743e876981 [to #43660556] msdataset数据集加载
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9552632

* load csv dataset from modelscoop
2022-07-29 12:22:48 +08:00
wendi.hwd
674e625e7c [to #42322933]cv_det_branch_to_master
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9490080
2022-07-29 11:48:51 +08:00
wenmeng.zwm
39c684db24 [to #43115513] remove easynlp trainer test
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9567392
2022-07-29 11:19:54 +08:00
wenmeng.zwm
b3f4ac8acc [to #43115042] add trainer usage doc
1. add trainer doc
2. support local configuration file for trainer
3. update nlp trainer test

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9541239
2022-07-29 10:28:50 +08:00
yichang.zyc
d1d2c96dd9 add 6 ofa tasks 2022-07-28 23:25:17 +08:00
klayzhang.zb
ca4b5b2565 [to #42322933][NLP] Add text error correction task
NLP新增文本纠错任务
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9540716
2022-07-28 23:01:28 +08:00
bin.xue
e3bffedb87 [to #42322933] aec pipeline修改C++库依赖到MinDAEC
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9563105

    * use MinDAEC instead of cdll

* feat: ANS pipeline can accept bytes as input and adjust processing order to reduce the amount of computation
2022-07-28 22:59:57 +08:00
wenmeng.zwm
590d531484 [to #43115513] requirements refine and preparation for v0.3 release
*  remove tensorflow numpy from audio requirements
*  add audio requirements to all
* auto set model to eval model for pipeline
*  add audio requirement check hint for easyasr and kwsbp
*  fix docs build error

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9561021
2022-07-28 22:04:18 +08:00
jiangnana.jnn
ae55e5bd73 [to #43627720] fix "TypeError: can't convert np.ndarray of type numpy.object_"
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9565199

    * fix "TypeError: can't convert np.ndarray of type numpy.object_"
2022-07-28 21:53:34 +08:00
yuxiang.tyx
7e0af3dddc [to #42322933]add cv-faceDetection and cv-faceRecognition
1. support FaceDetectionPipeline inference
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9470723
2022-07-28 21:52:18 +08:00
tianxi.tl
0424f3c510 [to #42322933]image2image_translation codes
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9526987
2022-07-28 19:16:35 +08:00
jiangnana.jnn
21437650f1 [to #43627720] support distributed training
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9551089

    * support distributed training
2022-07-28 17:43:23 +08:00
qianming.lm
6dfb51186c [to #42322933]add cv_resnet50_live-category
添加直播类目模型
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9476982
2022-07-28 10:07:33 +08:00
qianming.lm
0b16dbd66c [to #42322933] add cv_resnet50_video-category to maas lib
新增视频内容分类模型
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9479334
2022-07-27 23:42:27 +08:00
zhanning.gzn
81718bd643 [to #42322933] Add image-classification-imagenet and image-classification-dailylife pipelines
*Add image-classification-imagenet and image-classification-dailylife pipelines
*Add models.cv.mmcls_model.ClassificaitonModel as a wrapper class for mmcls
2022-07-27 22:29:13 +08:00
bin.xue
087e684da5 [to #42322933] fix ans_pipeline bug and add test 2022-07-27 18:45:17 +08:00
wenmeng.zwm
d55525bfb6 [to #43112771] requirements check and lazy import support 2022-07-27 17:29:16 +08:00