zhangyubo0722
a5a3b0f567
Delete unnecessary files
2023-01-20 14:08:06 +08:00
zhangyubo0722
272e75365b
modify swinv2
2023-01-20 14:08:06 +08:00
zhangyubo0722
65e7a41a1d
add docs
2023-01-20 14:08:06 +08:00
zhangyubo0722
7e616a16b5
modify init
2023-01-20 14:08:06 +08:00
zhangyubo0722
f5e8df0e63
Some modifications
2023-01-20 14:08:06 +08:00
zhangyubo0722
da95893bf2
supplement init
2023-01-20 14:08:06 +08:00
zhangyubo0722
6994050983
add SwinTransformerV2
2023-01-20 14:08:06 +08:00
zhangyubo0722
0a56120855
add swinV1 22k weights
2023-01-20 14:07:04 +08:00
zhangyubo0722
3672d1f227
add swinV1 22k weights
2023-01-20 14:07:04 +08:00
zengshao0622
5544dbaf8a
add ViT model for foundation models forward
2023-01-19 17:42:45 +08:00
gaotingquan
216291618c
add the pretrained url
2023-01-06 20:29:07 +08:00
gaotingquan
f6df698c4f
micro_block -> layer_type
2023-01-06 20:29:07 +08:00
gaotingquan
81de331e00
rename to re_parameterize() for re-parameterization nets
2023-01-06 20:29:07 +08:00
gaotingquan
d4d3d01384
support re_parameterize
2023-01-06 20:29:07 +08:00
gaotingquan
f82871b1f8
add copyright & reference
2023-01-06 20:29:07 +08:00
gaotingquan
963dcb9cac
support dbb module for ResNet
...
1. add DiverseBranchBlock module;
2. ResNet support dbb version using DiverseBranchBlock by setting micro_block="DiverseBranchBlock";
3. ResNet support official vb version by setting use_first_short_conv=False;
4. add ResNet18_dbb training config ResNet18_dbb.yaml.
2023-01-06 20:29:07 +08:00
zh-hike
d8f049ae76
增加代码规范,删除无用空格
2023-01-04 13:42:00 +08:00
zh-hike
c5a29dbaec
代码规范
2023-01-04 13:42:00 +08:00
zh-hike
f073e97d22
增加cifar100参数yaml
2023-01-04 13:42:00 +08:00
zh-hike
009f347d64
修改空格等代码规范
2023-01-04 13:42:00 +08:00
zh-hike
4db132444d
增加RecModel配合WideResNet代码以及参数转换成RecModel
2023-01-04 13:42:00 +08:00
zh-hike
7823f340b1
cifar10_4000跑出论文精度代码
2023-01-04 13:42:00 +08:00
gaotingquan
9d054b2a7e
support NHWC data format
2022-12-28 16:06:10 +08:00
LittleMoon
e069dedd7e
modified DSNet model names
2022-12-22 14:55:46 +08:00
LittleMoon
28e094e097
add docs, config, model for DSNet
2022-12-22 14:55:46 +08:00
zhangyubo0722
e238686e84
modify init
2022-12-22 14:54:25 +08:00
zhangyubo0722
0140b38a80
add models
2022-12-22 14:54:25 +08:00
zhangyubo0722
fdaf24ee78
add models
2022-12-22 14:54:25 +08:00
kuizhiqing
17a4b50ae2
rm singleton
2022-12-08 10:37:49 +08:00
kuizhiqing
9d69b63c6d
fix ct singleton
2022-12-07 14:14:22 +08:00
kuizhiqing
7cbc695227
use np for cpu tensor
2022-12-07 14:14:22 +08:00
kuizhiqing
19ed923799
fix typo
2022-12-07 14:14:22 +08:00
kuizhiqing
d70668cb6f
fix typo
2022-12-07 14:14:22 +08:00
kuizhiqing
a37cee70bf
remove global vars
2022-12-07 14:14:22 +08:00
kuizhiqing
fd4a97d144
lazy roll
2022-12-07 14:14:22 +08:00
kuizhiqing
a49e11db98
only for npu
2022-12-07 14:14:22 +08:00
kuizhiqing
20848e6abc
adapt roll op for swin transformer
2022-12-07 14:14:22 +08:00
zhangyubo0722
b61da414e5
add uniformer lst
2022-12-02 19:45:59 +08:00
cuicheng01
ec2029b821
Add NextViT code and docs
2022-11-23 14:59:55 +08:00
zhiqiu
f04eb47fc3
replace strided_slice
2022-11-21 11:06:22 +08:00
gaotingquan
cfab4c178a
feat: add pplcnetv2_small and pplcnetv2_big
2022-11-18 13:14:37 +08:00
cuicheng01
6d42c25cf2
fix_resnet_vd_nhwc_format
2022-11-16 10:40:40 +08:00
HydrogenSulfate
7d9f4dcb59
change Tensor.numpy()[0] to float(Tensor) for 0-D tensor case
2022-11-01 14:37:11 +08:00
gaotingquan
a623851224
fix: defer update_res() calling until after the object's __init__ has completed execution
2022-10-26 16:19:06 +08:00
gaotingquan
316479d380
fix: add *args, **kwargs to init_net()
...
the argument may be "infer_add_softmax" used in exporting.
2022-10-26 16:19:06 +08:00
dongshuilong
944763d7a5
add fixmatch
2022-10-25 12:04:22 +08:00
HydrogenSulfate
3647da6d4a
Merge pull request #2383 from HydrogenSulfate/xbm_final
...
Add XBM model
2022-10-19 15:43:40 +08:00
gaotingquan
a5607e7d09
fix: update pretrained url
2022-10-18 17:48:31 +08:00
gaotingquan
defcb638c3
fix: update pretrained url
2022-10-18 17:48:31 +08:00
gaotingquan
ad3c657e39
fix: update VAN_tiny to VAN_B0
2022-10-18 17:48:31 +08:00
HydrogenSulfate
2cfd8dd828
add xbm
2022-10-17 15:45:45 +08:00
gaotingquan
b3ab418e80
refactor: mv the init_res of net to super().__init__()
...
Put the calling of update_res(), stop_after(), freeze_befor() to the construction method of the parent class. And the init_net() support to call stop_after() by config of Arch.
2022-09-28 20:13:19 +08:00
gaotingquan
7513c0b52f
feat: support freeeze subnet
...
freeze subnet specified with the specified layer name by setting OutputTensor.stop_gradient=True
2022-09-28 20:13:19 +08:00
gaotingquan
0160b8dd0d
fix
2022-09-27 11:56:42 +08:00
zengshao0622
9a01999860
fix cae_large
2022-09-13 08:05:07 +00:00
zengshao0622
90d591e410
update ppcls
2022-09-08 11:34:54 +00:00
zengshao0622
7b50ce6585
merge CAE
2022-09-08 08:11:25 +00:00
HydrogenSulfate
feab570d09
merge develop & zoom QRCode for ShiTu APP demo
2022-08-25 11:39:32 +08:00
gaotingquan
a75dc8c993
fix: fix the error that containers nesting cannot be handled.
...
the error would be raised when when the pattern string represents nested, e.g., containing "[3][1]".
2022-08-24 19:09:42 +08:00
HydrogenSulfate
877c8c53be
correct config yaml, pp_lcnetv2_variant.py and log in&out channels in pp_lcnet_v2.py
2022-08-24 07:25:30 +00:00
HydrogenSulfate
5a4874079d
fix some bugs
2022-08-23 10:59:30 +00:00
HydrogenSulfate
1b5e00e82a
add PP-ShiTuV2 code
2022-08-23 07:54:58 +00:00
root
2a909c306a
fix: change to relative import
2022-08-19 11:40:38 +08:00
root
b1b45eaff0
fix: fix the pretrained url
2022-08-18 17:06:48 +08:00
cuicheng01
84c2974d3a
fix peleenet and convnext
2022-07-14 09:59:54 +00:00
cuicheng01
1fccb35be7
Merge branch 'develop' into PeleeNet_PR
2022-07-14 10:47:06 +08:00
Yang Nie
4266b8790d
rename `ConvNext` to `ConvNeXt`
2022-07-09 23:25:50 +08:00
Yang Nie
eb6e0d10fc
fix typo
2022-07-09 21:56:36 +08:00
Yang Nie
436f64ad84
Merge branch 'develop' into ConvNeXt
2022-07-09 21:50:31 +08:00
HydrogenSulfate
e866a217bf
update configs
2022-06-24 18:37:01 +08:00
cuicheng01
61b7b3487a
Merge pull request #1926 from nemonameless/fix_ShuffleNetV2_x2_0_ch
...
fix ShuffleNetV2 config
2022-06-14 10:43:43 +08:00
cuicheng01
4a247f49dc
update resnet.py
2022-06-13 21:04:28 +08:00
cuicheng01
c1530e1eea
update pulc docs
2022-06-13 07:33:22 +00:00
littletomatodonkey
b01a79aba7
fix swin ( #2004 )
2022-06-09 15:08:45 +08:00
cuicheng01
f99b1ec529
Merge branch 'develop' into Add_PULC_demo
2022-06-09 11:12:06 +08:00
littletomatodonkey
4003cdb7ad
add traffic sign yaml ( #1966 )
...
* add traffic sign and vehicle attr doc and yaml
2022-06-06 13:13:50 +08:00
cuicheng01
be47e28b5e
Merge branch 'develop' into Add_PULC_demo
2022-05-31 19:12:00 +08:00
cuicheng01
4465d27ab0
update resnet&pp-lcnet
2022-05-31 11:02:40 +00:00
cuicheng01
5d9d2395e2
update resnet&pp-lcnet
2022-05-31 10:55:57 +00:00
cuicheng01
ee5121a365
Merge branch 'PaddlePaddle:develop' into develop
2022-05-31 18:48:41 +08:00
Walter
0f520aaba1
Merge pull request #1968 from HydrogenSulfate/reid_update
...
update reid configs
2022-05-30 11:50:40 +08:00
HydrogenSulfate
aebb3f749d
update reid configs
2022-05-30 11:38:10 +08:00
cuicheng01
dc651d4732
Merge branch 'PaddlePaddle:develop' into develop
2022-05-29 21:57:14 +08:00
cuicheng01
ad71254e68
Merge pull request #1960 from zhiboniu/dev_attr
...
support attribute infer
2022-05-27 19:22:17 +08:00
zhiboniu
7f0075e8d0
reverse to BatchNorm
2022-05-27 07:54:26 +00:00
Walter
dcef409dde
Merge branch 'develop' into adaface
2022-05-27 14:19:03 +08:00
zhiboniu
9f049f1145
fix batchnorm2d data_format
2022-05-26 09:12:28 +00:00
zhiboniu
a4e1da6610
modify attr export model
2022-05-25 08:13:38 +00:00
cuicheng01
c870befb86
Merge branch 'PaddlePaddle:develop' into develop
2022-05-25 10:20:56 +08:00
cuicheng01
4091592cfb
Merge pull request #1917 from zhiboniu/develop
...
add attribute support
2022-05-25 10:19:21 +08:00
cuicheng01
2e48a7ed7a
add PPHGNet_base config
2022-05-23 16:39:58 +00:00
cuicheng01
6cb33220ea
Merge branch 'PaddlePaddle:develop' into develop
2022-05-23 23:49:48 +08:00
littletomatodonkey
6dac07f68d
fix quant logic ( #1941 )
...
* fix quant logic
* add support for trt+int8 inference
* add support for swin quant
* fix swin and quant
* fix assert info
* fix assert info
* fix log
2022-05-23 19:04:27 +08:00
zhiboniu
699c10aaeb
Merge remote-tracking branch 'ppcls/develop' into develop
2022-05-23 08:03:46 +00:00
cuicheng01
94d4722b8d
Merge branch 'PaddlePaddle:develop' into develop
2022-05-23 10:15:50 +08:00
cuicheng01
8f5fe61540
Merge pull request #1925 from cuicheng01/add_person_demo
...
Add person demo
2022-05-23 09:26:49 +08:00
dongshuilong
759fe41ccc
modify face_dataset and ir_net name issue
2022-05-19 02:22:17 +00:00
zhiboniu
032c45c1d3
delete norm_decay in resnet
2022-05-18 11:58:53 +00:00
zhiboniu
50900443f3
remove strongbaseline_attr, etc...
2022-05-18 04:54:43 +00:00
zhiboniu
26d5b7d1cc
adapted dataset and loss
2022-05-18 04:54:43 +00:00
zhiboniu
aa8f4c16d2
attr ma test ok
2022-05-18 04:54:43 +00:00
zhiboniu
0a3ecf60b4
add attribute strongbaseline
2022-05-18 04:54:43 +00:00
Yang Nie
62e06ced05
update
2022-05-16 18:00:09 +08:00
dongshuilong
32c99be6aa
add adaface
2022-05-16 03:50:35 +00:00
nemonameless
60a4269d9b
fix ShuffleNetV2 x2_0 stage_out_channels
2022-05-14 10:29:49 +00:00
cuicheng01
0112a036ea
update pp_lcnet.py
2022-05-14 10:06:58 +00:00
cuicheng01
d125b31f73
update code
2022-05-14 10:03:55 +00:00
cuicheng01
45b1296c25
Add cls_demo_person code
2022-05-14 09:31:52 +00:00
gaotingquan
f04b52343f
fix: unable to export rep net
2022-05-14 14:13:25 +08:00
cuicheng01
ff09e310de
update res2net200_vd_distill_pphgnet_base.yaml
2022-05-13 16:15:00 +00:00
cuicheng01
03142ea32b
Merge pull request #1919 from cuicheng01/develop
...
Add PPHGNet code
2022-05-13 17:59:53 +08:00
cuicheng01
713dd6f9eb
update pp_hgnet.py
2022-05-13 04:07:41 +00:00
cuicheng01
8a760fb85f
Add PPHGNet code
2022-05-12 15:53:51 +00:00
Yang Nie
96687d07e2
add PeleeNet code
2022-05-12 23:19:44 +08:00
gaotingquan
c3bd88a244
circuitous rep
2022-05-12 14:38:17 +00:00
gaotingquan
4c5ed46b2c
refactor
2022-05-12 14:38:17 +00:00
gaotingquan
0ef1ac3fa7
fix
2022-05-12 14:38:17 +00:00
gaotingquan
e82e1358bc
BatchNorm -> BatchNorm2D
2022-05-12 14:38:17 +00:00
gaotingquan
925cb6ef6c
feat: add PPLCNetV2
2022-05-12 14:38:17 +00:00
Yang Nie
e61f392598
Merge branch 'develop' into ConvNeXt
2022-05-09 12:22:37 +08:00
dongshuilong
7283598041
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into adaface
2022-05-06 04:50:31 +00:00
dongshuilong
bdc535bb39
add adaface
2022-05-06 04:50:26 +00:00
Walter
bd524e8a88
Merge pull request #1819 from weisy11/reid
...
复现reid-strong-baseline
2022-05-06 12:05:07 +08:00
gaotingquan
0ba524d26b
update: add reference
2022-05-05 21:37:37 +08:00
flytocc
e1943f9a68
add ConvNeXt code
2022-04-28 00:34:48 +08:00
HydrogenSulfate
15a0afc67c
update code
2022-04-22 15:52:16 +08:00
HydrogenSulfate
9dde9376fb
update code
2022-04-22 15:25:11 +08:00
HydrogenSulfate
dfd7749828
refine hard code
2022-04-21 14:37:00 +08:00
flytocc
7b020eb2aa
add paper citation
2022-04-19 19:45:19 +08:00
flytocc
c3018ebd39
add VAN-Classification code
2022-04-19 13:13:33 +08:00
weishengyu
0993147af7
dbg
2022-04-06 19:49:10 +08:00
cuicheng01
96fbbad038
update mobilevit.py
2022-04-01 09:06:46 +00:00
cuicheng01
44b9963b25
add mobilevit code
2022-04-01 08:51:42 +00:00
cuicheng01
4839915056
update cswin_transformer.py
2022-03-29 12:01:04 +00:00
cuicheng01
51e06d43f5
add cswin code and doc
2022-03-29 09:50:44 +00:00
Tingquan Gao
158c7b4e35
fix: fix bug that overrided eval() can't be called in distributed
...
The eval() overrided can't be called because model is a DataParallel object in distributed.
2022-03-04 16:52:57 +08:00
Wei Shengyu
1020f41899
use flatten instead of reshape for hrnet ( #1709 )
2022-02-28 19:12:53 +08:00
WangChen0902
7595ba6d70
add AFD ( #1683 )
...
* add AFD
2022-02-28 19:11:50 +08:00
gaotingquan
7abf42b7a1
fix: rm some repvgg models not supported
...
remove RepVGG_B3, RepVGG_B2g2 and RepVGG_B3g2 that are not supported by PaddleClas.
2022-02-25 23:50:29 +08:00
gaotingquan
4619d63273
fix: fix the download link, etc.
...
fix the pretrained and inference download link;
add use_ssld arg to TNT model.
2022-02-25 23:50:29 +08:00
gaotingquan
6963c25804
fix: fix bug
...
bug is that error rasied by calling update_res() when sublayer does not have _save_sub_res_hook() because nn.Sequential and nn.LayerList is not TheseusLayer.
2022-01-14 14:58:28 +08:00
gaotingquan
a6a76f3d36
fix: args error
2022-01-14 14:58:28 +08:00
gaotingquan
43fce425ac
fix: change the returned result from dict to list
2022-01-14 14:58:28 +08:00
gaotingquan
3b9f629220
feat: support specify return_stages to update_res()
2022-01-14 14:58:28 +08:00
gaotingquan
56c72a85a1
fix: fix lr
2022-01-07 11:52:30 +08:00
gaotingquan
025feb6de9
fix: fix -1 in dims
2022-01-07 11:52:30 +08:00
gaotingquan
ee819393ac
fix: fix -1 in dims and ignore swapdim in static
2022-01-07 11:52:30 +08:00
gaotingquan
00fb3f7519
feat: support PVTV2
2022-01-07 11:52:30 +08:00
gaotingquan
a53b636829
feat: support PVTV2
2022-01-07 11:52:30 +08:00
littletomatodonkey
aea712cc87
add dist of rec model ( #1574 )
...
* add distillation loss func and rec distillation
2022-01-05 19:25:36 +08:00