86 Commits

Author SHA1 Message Date
Cathy0908
f8c9a9a1c9
Improve the performance of bevformer (#224)
Improve the performance of bevformer

* add hybrid brach (#232)

Co-authored-by: yhq <yanhaiqiang.yhq@alibaba-inc.com>
2022-11-23 21:32:08 +08:00
yhq
7ffff511a5
modify ocr predictor (#237)
* modify ocr predictor
2022-11-22 18:58:55 +08:00
Cathy0908
23ec622270
sync the predict config in the config file (#238) 2022-11-22 17:18:03 +08:00
Jiabei-prog
17c1f39b6f
features/edgevit3 (#214)
* add backbone model 'EdgeVit'
2022-11-17 14:30:12 +08:00
zzoneee
ab3b2a0258
add Hydra Attention (#220)
* add hydra attention implementation
* refactor deit iii config
2022-11-07 11:19:07 +08:00
gulou
645fed2d1b
add data source and support for automatic download (#206)
* add data_source imagenet

* modify data_source imagenet and add unittest

* modify data_source imagenet and modify unittest

* modify voc data_source and modify voc unittest and download Part

* modify coco data_source and modify coco unittest and  add download Part , modify voc data_source

* add dataset metadata Format specification

* add pose download data , modify coco.py and modiy download file function ,add test coco download a part

* modify download file function

* modify download of cifar10 and cifar100

* modify dataset_name  to target_dir

* create download_util and modify function

* modify function

* modify function

* add test case , modify

* modify something

* modify something

* modify something

* modify something

* modify something

* modify something

* add wget

* add wget

* modify

* add new modify

* add new modify

* modify something

* modify something and add something

* modify something and add something

* modify something and add something

* modify something and add something

* modify something and add something

* modify test case

* modify test case

* modify test case

* modify test case

* modify test case
2022-11-04 19:36:37 +08:00
Cathy0908
5f75b22438
move test model to nfs (#222) 2022-11-01 12:09:33 +08:00
Cathy0908
7f08eb6b3f
merge internal master 20221027 (#216)
* avoid numpy version check when xtcocotools can be imported 

Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10377599

* * move thirdparty into easycv
 * fix code style
        Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10395748

    * move thirdparty into easycv

* fix missing thirdparty/deformable_attention/src when build package

* optimize ci_test

* update version to 0.6.3.8 
        Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10412059

    * update version to 0.6.3.8

* fix face keypoints bugs in FT

* update version to 0.6.3.9 
        Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10443200

    * update version to 0.6.3.9

* fix import thirdparty

* fix unittest

* fix unittest

Co-authored-by: wenmeng.zwm <wenmeng.zwm@alibaba-inc.com>
Co-authored-by: shouzhou.bx <shouzhou.bx@alibaba-inc.com>
2022-11-01 10:48:12 +08:00
yhq
00aa7c2f79
Support_mask2former_semantic (#199)
* add mask2former semantic branch
2022-10-26 17:23:21 +08:00
zouxinyi0625
8a484e88fd
Add yolox jit script model end2end support (#215)
* add yolox jit script model end2end support

* update export.md
2022-10-26 15:09:05 +08:00
Cathy0908
54e9571423
add BEVFormer (#203)
* add BEVFormer and benchmark
2022-10-24 17:20:12 +08:00
jiangnana.jnn
10c2545875 Merge branch 'master_internal_22021012' into merge_master_internal_22021012 2022-10-12 11:24:08 +08:00
jiangnana.jnn
ae51a8c341 fix mmlab utils
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10316166

    * fix mmlab utils
2022-10-11 13:47:35 +08:00
tianchu.gtc
0a796ec2f1 更改mask2former接口,适配maas
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10292532

* modify postprocess

* Merge remote-tracking branch 'remotes/origin/master' into mask2former_postprocessing

# Conflicts:
#	tests/ut_config.py

* assert the output value

* add mask2former models to data/test/xxx/models

* fixed train
2022-09-30 15:31:58 +08:00
yhq
397ecf2658
Feature/paddleocr inference (#148)
* add ocr model and convert weights from paddleocrv3
2022-09-28 14:03:16 +08:00
Cathy0908
bb68fcbf5c
fix test_prun oom (#202) 2022-09-28 12:47:11 +08:00
jiangnana.jnn
2856af7f42 fix cpu inference
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10267433

    * fix cpu inference
2022-09-27 12:30:38 +08:00
shouzhou.bx
7f106ba446 add wholebody keypoint detection 2022-09-26 17:37:52 +08:00
jiangnana.jnn
893d879b44 Merge branch 'github_master' 2022-09-23 15:10:22 +08:00
Cathy0908
7a89d1b7b8
refactor yolox predictor, support batch inference (#198)
* update yolox predictor
2022-09-23 13:51:06 +08:00
jiangnana.jnn
061d9f7ff8 fix unittest for test_prune
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10201563

    * fix unittest for test_prune
2022-09-21 14:38:58 +08:00
Cathy0908
5dfe7b2898
update some predcitors, support batch inference (#195)
update some predcitors, support batch inference
2022-09-20 10:04:42 +08:00
Cathy0908
5ac6381758
add error code (#146)
* add error code
2022-09-19 16:07:04 +08:00
tuofeilun
9f01a37ad4
Refactor ViTDet backbone and simple feature pyramid (#177)
1. The vitdet backbone implemented by d2 is about 20% faster than the vitdet backbone originally reproduced by easycv.
2. 50.57 -> 50.65
2022-09-16 11:03:53 +08:00
wenmeng zhou
1d5edf6d78
Merge pull request #191 from alibaba/easycv_internal_0830
merge internal version into github master
2022-09-14 15:32:46 +08:00
zzoneee
0cb91de0cb
add DeiT III (#171)
1.Add a backbone: deitiii.
2.Add an optimizer: lamb. 
3.Add a sampler: RASampler. 
4.Add a lr update hook: CosineAnnealingWarmupByEpochLrUpdaterHook.
5.In easycv/models/classification/classification.py, I remove the default mixup_cfg to keep the classification.py clean.
2022-09-14 15:24:54 +08:00
Cathy0908
7301f8c7b6
fix io.copytree (#193) 2022-09-14 12:04:52 +08:00
wenmeng.zwm
0de3bc1521 fix test_case 2022-09-08 21:55:13 +08:00
wenmeng.zwm
bf43e8a25b merge github master 2022-09-08 10:38:31 +08:00
wenmeng.zwm
962a057f4c [to 43878396] fix conflict with mmdet when using EasyCV
when adapt for mmlab, the original modules will be changed,  which will make argument error when using mmdet original config and interface
1.  add interface for removing adaptation for mmlab
2.  register copy of mmlab module into easycv
3.  bump internal version to 0.6.3.1

Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/10059050
2022-09-08 09:55:18 +08:00
zouxinyi0625
9ad1a8f448
Fix YOLOX-Edge problem and update yolox-pai turtorial (#182)
* complete yolox introduction

* fix env problem with nni2.6.1

* fix yolox-edge problem

*  add docker turtorial

* add blade test

* support old export yolox model

Co-authored-by: wuziheng <zhoulou.wzh@alibaba-inc.com>
2022-09-06 17:11:12 +08:00
jiangnana.jnn
4ecc9fcc41 fix LoadImage
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9978695

    * fix LoadImage
2022-09-01 11:50:17 +08:00
shouzhou.bx
befe6d8c8f update face 2d keypoint predictor pipeline
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9969788
2022-08-31 18:52:32 +08:00
tuofeilun
b198c5a81f
support DINO algo (#144)
dino_4sc_r50_12e:48.71
dino_4sc_r50_24e:50.53
dino_4sc_r50_36e:50.69
dino_4sc_swinl_12e: 56.86
dino_4sc_swinl_36e: 58.04
dino_5sc_swinl_36e: 58.47
2022-08-31 15:18:11 +08:00
liangting.zl
a5988732cc feat: add hand keypoints predictor
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9935447

    * feat: add hand keypoints predictor
2022-08-31 10:25:05 +08:00
jiangnana.jnn
778d0ec43c fix mmlab utils
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9943746

    * fix mmlab utils
2022-08-30 14:06:30 +08:00
jiangnana.jnn
1acef39f8a update face predictor
* update FaceKeypointsPredictor
 * update face config
        Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9932947

    * update FaceKeypointsPredictor
2022-08-29 20:06:18 +08:00
tuofeilun
e3678fbbfa
FCOS update torch_style (#170)
fcos update torch style
2022-08-29 16:21:14 +08:00
shouzhou.bx
c221b22791 【bug fix】 fix data argumentaion bug
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9907176
2022-08-27 10:07:11 +08:00
tuofeilun
6821cdc9db
refactor detection predictor (#158)
The use of unified DetrPredictor for detection test and predictor.
2022-08-26 10:28:17 +08:00
jiangnana.jnn
f78b08954f update to_ms_config
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9897512

    * update to_ms_config
2022-08-25 16:57:56 +08:00
shouzhou.bx
2e8fc44dc1 add face-2d-keypoints
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9809249

    * add face 2d keypoint config
2022-08-25 16:57:37 +08:00
jiangnana.jnn
bc64851614 update to_ms_config
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9891090

    * update to_ms_config
2022-08-25 15:31:57 +08:00
liangting.zl
2bf7c9f6ff 新增coco-wholebody-hand数据集,新增pck auc epe nme评价指标
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9790242
2022-08-24 19:19:33 +08:00
wuziheng
9aaa600f79
Yolox improve with REPConv/ASFF/TOOD (#154)
* add attention layer and more loss function

* add attention layer and various loss functions

* add siou loss

* add tah,various attention layers, and different loss functions

* add asff sim, gsconv

* blade utils fit faster

* blade optimize for yolox static & fp16

* decode output for yolox control by cfg

* add reparameterize_models for export

* e2e trt_nms plugin export support and numeric test

* split preprocess from end2end+blade, speedup from 17ms->7.2ms

Co-authored-by: zouxinyi0625 <zouxinyi.zxy@alibaba-inc.com>
2022-08-24 18:11:15 +08:00
jiangnana.jnn
0f74adb848 add predict pipeline
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9828601

    * add predict pipeline
2022-08-23 19:52:52 +08:00
jiangnana.jnn
b3abdf507f fix unittest
Link: https://code.alibaba-inc.com/pai-vision/EasyCV/codereview/9809645

    * fix unittest
2022-08-19 15:12:13 +08:00
pengyu.lpy
0128e881d9 add segformer algo
* 将COCO_Stuff_164k数据集增加到了data_hub.md, prepared_data.md, 以及将其对应脚本加到了prepare_data文件夹下面

* 增加了segformer对应的predictor

* 完善docs/source/model_zoo_seg.md中关于segformer的信息
2022-08-18 10:40:18 +08:00
Cathy0908
a11f200ec3
refactor get_sample to __getitem__ for all datasources api (#156)
* refactor `get_sample` to `__getitem__` for all datasources api

* fix MMpad config
2022-08-17 14:24:17 +08:00
Cathy0908
f5cea32405
fix datasource cache (#153) 2022-08-10 19:51:32 +08:00