87 Commits

Author SHA1 Message Date
Tingquan Gao
339be96ef5 Revert "refactor"
This reverts commit 187f38ebdd63b0adae2abf72038dc4fb4fe4125c.
2023-03-14 16:47:13 +08:00
Tingquan Gao
8adb5f4a32 Revert "debug for dali"
This reverts commit c641fb3c516891e97375f34df653f252c4e008ca.
2023-03-14 16:47:13 +08:00
gaotingquan
c641fb3c51 debug for dali 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
tianyi1997
7c3bb2754b Update files according to reviews
https://github.com/PaddlePaddle/PaddleClas/pull/2633
2023-02-28 15:01:21 +08:00
tianyi1997
21e76d08b6 Modify codes based on reviews 2023-02-28 15:01:21 +08:00
tianyi1997
1070d9bec0 Create dataloader for MetaBIN 2023-02-28 15:01:21 +08:00
zh-hike
f8978a2f0c 修改cifar100参数配置 2023-01-04 13:42:00 +08:00
zh-hike
f83ff59c97 增加代码规范,删除一些无用的function 2023-01-04 13:42:00 +08:00
zh-hike
692b8d8c1f 增加data的代码复用及RecModel的修改,代码已跑通 2023-01-04 13:42:00 +08:00
zh-hike
7823f340b1 cifar10_4000跑出论文精度代码 2023-01-04 13:42:00 +08:00
zengshao0622
7cdae10bcf fix pksampler prob list shuffle bug 2022-12-22 12:01:05 +08:00
HydrogenSulfate
4060957669 fix(dali): add shuffle to prob_list in ExternalSource_RandomIdentity 2022-12-13 14:27:15 +08:00
HydrogenSulfate
b22752e2ea refactor DALI 2022-12-13 14:27:15 +08:00
HydrogenSulfate
6cc6540ca5 add different seed for workers and replicas 2022-11-24 11:51:13 +08:00
HydrogenSulfate
b542416d67 add random shuffle in PKSampler 2022-11-24 11:51:13 +08:00
HydrogenSulfate
fa52acd614 remove redundant import in pksampler 2022-11-22 16:47:47 +08:00
HydrogenSulfate
c26adddf33 remove redundant code in pksampler 2022-11-22 16:47:47 +08:00
HydrogenSulfate
7ff257ea69 fix random seed bug for pksampler in DDP 2022-11-22 16:47:47 +08:00
dongshuilong
944763d7a5 add fixmatch 2022-10-25 12:04:22 +08:00
HydrogenSulfate
a14df4ac52 fix tensor conversion in static mode with dali loader 2022-10-20 12:03:03 +00:00
HydrogenSulfate
09200a31f4 remove redundant code, fix bugs in lr.step, merge GoodsDataset into Vehicle 2022-10-19 07:18:21 +00:00
HydrogenSulfate
2cfd8dd828 add xbm 2022-10-17 15:45:45 +08:00
gaotingquan
b83da15d27 support set shuffle by config 2022-10-17 11:24:57 +08:00
HydrogenSulfate
61b4153907 add batch Tensor collate to simplify dali code in train/eval/retrival code 2022-10-13 12:05:50 +08:00
gaotingquan
bf91fbfbe4 add warning msg 2022-09-28 20:01:48 +08:00
gaotingquan
75e1291528 debug 2022-09-28 20:01:48 +08:00
gaotingquan
e823f17853 feat: support training image orientation model
add the config of orientation model
add the preprocess op RandomRot90 that can rotate the img and return the orientation
add the CustomLabelDataset that support getting label by preprocess
refactor some preprocess ops to support dict parameter and return dict
2022-09-28 20:01:48 +08:00
HydrogenSulfate
42758f5463 fix benchmark train's config for GeneralRecognitionV2, and polish TIPC docs 2022-09-14 08:54:22 +00:00
gaotingquan
3f8f981423 fix: support specify DALI threads num 2022-09-01 20:21:43 +08:00
HydrogenSulfate
73e1d36697 refine doc-string for ImageNetDataset 2022-08-25 14:40:19 +08: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
HydrogenSulfate
a646adf754 refine docstring 2022-08-18 20:20:07 +08:00
HydrogenSulfate
84870b771d add assert for DistributedRandomIdentitySampler and refine docstring for DistributedRandomIdentitySampler&Pksampler 2022-08-18 20:16:55 +08:00
littletomatodonkey
5b1c5eee1e
revert bug of pr #2115 (#2124)
* revert bug of pr #2115

* fix yaml
2022-07-04 13:58:22 +08:00
cuicheng01
a614dbe313 fix multilabel_dataset bug 2022-06-29 06:51:40 +00:00
dongshuilong
49f010a1c6 add r50 dynamic fp16 train for benchmark 2022-06-15 14:33:17 +00:00
Walter
dcef409dde
Merge branch 'develop' into adaface 2022-05-27 14:19:03 +08:00
dongshuilong
759fe41ccc modify face_dataset and ir_net name issue 2022-05-19 02:22:17 +00:00
zhiboniu
05ecf1d045 multi-card eval support 2022-05-18 04:54:44 +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
dongshuilong
511669a49a fix bcolz install bug 2022-05-17 07:48:23 +00:00
dongshuilong
32c99be6aa add adaface 2022-05-16 03:50:35 +00:00
Tingquan Gao
3c8f491092
Merge branch 'develop' into dev/multi-scale 2022-05-12 16:18:27 +08:00
gaotingquan
f8150efeb6
fix: (h, w) -> (w, h) 2022-05-12 08:13:34 +00:00
Walter
353e050c21
Merge pull request #1910 from RainFrost1/dali_bug
修复dali环境变量bug
2022-05-11 17:20:13 +08:00
dongshuilong
11b0860a1b fix dali env bug 2022-05-11 03:06:55 +00:00
dongshuilong
7283598041 Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleClas into adaface 2022-05-06 04:50:31 +00:00