63 Commits

Author SHA1 Message Date
zhenming lin
98935e0bb7
Add ML-Decoder Support (#2957)
* 添加ML-Decoder,并使其可以在Arch作用域下控制

* 添加MultiLabelAsymmetricLoss

* 添加MultiLabelMAP评价方式,并避免其在回合内计算,每回合计算一次,节约时间

* 添加COCO2017数据集格式转换脚本

* 添加OneCycleLR学习率调度策略

* 添加ResNet50_ml_decoder

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder preprocess

* 添加ResNet_ml_decoder

* 添加ResNet_ml_decoder

* 直接从model中拉class_num参数

* fix message error

* fix message error

* 给出基于inference model预测的文档

* 融合cutout使其具有随机生成填充值的能力

* 更正变量名称

* 更新configs

* 更新README

* fix bugs

* fix bugs

* update

* update

* update
2023-09-08 16:17:35 +08:00
gaotingquan
b3fcc98610 to be compatible with training and evaluation 2023-08-29 16:11:16 +08:00
gaotingquan
ae96c979eb always log 'topk=1' when k < output_dims to ensure consistent log formatting 2023-08-28 17:01:49 +08:00
Tingquan Gao
5d06a88a36 Revert "refactor: simplify engine"
This reverts commit 376d83d46e54a03e96477d707a9d6addb8fee756.
2023-03-14 16:47:13 +08:00
Tingquan Gao
f2fc43baeb Revert "refactor: mv all dataloaders to engine.dataloader_dict"
This reverts commit 284e2a67564d4b1f5f4a9c04c7c1ab0e8d3ada75.
2023-03-14 16:47:13 +08:00
Tingquan Gao
339be96ef5 Revert "refactor"
This reverts commit 187f38ebdd63b0adae2abf72038dc4fb4fe4125c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
03795249c1 Revert "revert for running"
This reverts commit d3374e897e162053d93a20c21142135c3e7ee11c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
8580242724 Revert "debug"
This reverts commit a41a5bcb4d055e88b6a83b76a4607651656cdf51.
2023-03-14 16:47:13 +08:00
gaotingquan
a41a5bcb4d debug 2023-03-10 16:56:55 +08:00
gaotingquan
d3374e897e revert for running 2023-03-10 16:56:55 +08:00
gaotingquan
187f38ebdd refactor
1. rm Global.eval_mode
2. add Global.task
3. mv type_name to ppcls.utils
4. build dataloader, loss, metric by mode
2023-03-10 16:56:55 +08:00
gaotingquan
284e2a6756 refactor: mv all dataloaders to engine.dataloader_dict 2023-03-10 16:56:55 +08:00
gaotingquan
376d83d46e refactor: simplify engine 2023-03-10 16:56:55 +08:00
HydrogenSulfate
c6865e255e refactor(retrieval): polish retrieval.py 2023-01-05 15:13:04 +08:00
zhangyubo0722
169682002d Some modifications 2022-12-28 16:01:54 +08:00
zhangyubo0722
7badd5bf6c add metrics and postprocess 2022-12-28 16:01:54 +08:00
cuicheng01
1a8590a9bd fix TprAtFpr metrics 2022-11-18 13:11:29 +08:00
HydrogenSulfate
7d9f4dcb59 change Tensor.numpy()[0] to float(Tensor) for 0-D tensor case 2022-11-01 14:37:11 +08:00
HydrogenSulfate
14088d4502 fix for num_rel_index is a zero matrix 2022-08-25 14:37:41 +08:00
Tingquan Gao
b457c393eb
fix: dbg (#1993)
1. config["Metric"]["Train"] may be None
2. fliter -> list
2022-06-07 20:08:48 +08:00
gaotingquan
a43f8539ea fix: warn and fix when topk parameter setting is wrong 2022-06-06 16:47:57 +08:00
gaotingquan
df3e75dde4 fix: warn when topk parameter setting is wrong 2022-06-06 16:47:57 +08:00
cuicheng01
ad71254e68
Merge pull request #1960 from zhiboniu/dev_attr
support attribute infer
2022-05-27 19:22:17 +08:00
zhiboniu
939a35d605 add more details 2022-05-26 07:14:10 +00:00
cuicheng01
e894fa861d
Merge branch 'develop' into add_person_demo 2022-05-25 15:30:07 +08:00
cuicheng01
33a15cfdae fix static training bugs 2022-05-24 17:02:44 +00:00
zhiboniu
edf1129e5d match new eval function 2022-05-23 10:27:55 +00:00
zhiboniu
699c10aaeb Merge remote-tracking branch 'ppcls/develop' into develop 2022-05-23 08:03:46 +00:00
cuicheng01
8f5fe61540
Merge pull request #1925 from cuicheng01/add_person_demo
Add person demo
2022-05-23 09:26:49 +08:00
zhiboniu
05ecf1d045 multi-card eval support 2022-05-18 04:54:44 +00:00
zhiboniu
50900443f3 remove strongbaseline_attr, etc... 2022-05-18 04:54:43 +00:00
zhiboniu
0a3ecf60b4 add attribute strongbaseline 2022-05-18 04:54:43 +00:00
cuicheng01
87a0ba6f31 update metrics 2022-05-16 04:31:26 +00:00
cuicheng01
45b1296c25 Add cls_demo_person code 2022-05-14 09:31:52 +00:00
HydrogenSulfate
88295413f5 add re-ranking code 2022-05-11 17:33:07 +08:00
cuicheng01
891fa1c093 fix AccuracyScore metric 2022-03-16 14:34:45 +00:00
gaotingquan
7732a69f1b fix: fix key error in distillation 2021-12-16 18:21:08 +08:00
cuicheng01
af9aae730e add multilabel feature 2021-09-26 07:05:13 +00:00
Bin Lu
34d9c8593e
Update __init__.py 2021-08-23 19:45:44 +08:00
Bin Lu
0354f44574
Update metrics.py 2021-08-23 19:29:39 +08:00
dongshuilong
1e1b4d0f48 fix map metric bugs 2021-06-23 13:05:47 +08:00
dongshuilong
5b3d40312b fix map minp metric bugs 2021-06-23 12:37:46 +08:00
dongshuilong
914e69676e fix reid recall metric bugs 2021-06-22 17:08:02 +08:00
cuicheng01
707e01aed5 Update GoogLeNetLoss 2021-06-22 01:58:03 +00:00
cuicheng01
4e154aed4f Add GoogLeNetLoss 2021-06-21 14:25:07 +00:00
Bin Lu
4f61f90878
Update metrics.py 2021-06-11 14:42:24 +08:00
Bin Lu
2323caec99
Update __init__.py 2021-06-11 10:38:17 +08:00
Bin Lu
65780c29df
Update metrics.py 2021-06-11 10:24:21 +08:00
littletomatodonkey
3b4f5f4dfc
add distillation and fix some apis (#810)
* fix save load and imagenet dataset
* refine trainer
2021-06-10 16:30:05 +08:00
Bin Lu
d6fe8c0c1b
Update metrics.py 2021-06-10 10:41:58 +08:00