zhangyubo0722
e23bdb4df5
merge uapi paddleclas ( #3135 )
2024-05-13 14:27:09 +08:00
Wang Huan
07de476c51
refine
2024-04-26 14:58:55 +08:00
Wang Huan
0cb74b1741
refine
2024-04-26 14:58:55 +08:00
Wang Huan
be33107d89
refine batch_cost stat
2024-04-26 14:58:55 +08:00
changdazhou
d189384ab8
Control print memory info ( #3079 )
...
* support ctrl print memory info
* support ctrl print memory info
* fix print log bug
2024-03-05 11:28:23 +08:00
gmm
034236d0f5
【benchmark】fix gpu_mem unit ( #3052 )
...
* add max_memory_reserved for benchmark
* change unit
* fix
2023-12-05 15:04:25 +08:00
RuohengMa
656c149d6b
Fix bug when running on XPU ( #3045 )
2023-11-24 15:08:26 +08:00
gmm
e4abcc08d0
add max_memory_reserved for benchmark ( #3042 )
2023-11-22 17:31:30 +08:00
Tingquan Gao
ab087065e9
support to specify rank to log when using Fleet API ( #3039 )
...
* support to specify rank to log when using Fleet API
* log max mem reserved
* log_ranks support str type
example: -o Global.log_ranks="0,1"
* log max mem allocated
* support to specify rank to log in static mode
* log max mem reserved and max mem allocated in static mode
2023-11-16 11:32:29 +08:00
zhangyubo0722
aae1e9543f
del load pretrained from url for resnet ( #2997 )
...
* del load pretrained from url for resnet
* del load_dygraph_pretrain_from_url
* del load_dygraph_pretrain_from_url
* modify save_load
2023-10-30 13:44:16 +08:00
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
zhangyubo0722
74a33b7f50
fix gbk ( #2941 )
2023-09-01 17:49:33 +08:00
zhangyubo0722
f3b2b2f4ad
[uapi]Save predict result ( #2926 )
...
* sava predict result
2023-08-29 14:32:07 +08:00
baocheny
75a5bb17ba
add 2 more custom devices intel_gpu and apple mps
2023-06-29 19:42:38 +08:00
Bobholamovic
de5c4e1b1c
Change vdl dir
2023-06-26 14:20:38 +08:00
Bobholamovic
d6137854e2
Accommodate UAPI
2023-06-26 14:20:38 +08:00
gaotingquan
8405882f11
debug
2023-05-29 19:52:09 +08:00
gaotingquan
2d8346cd3b
fix _init_amp when export
2023-05-29 19:52:09 +08:00
gaotingquan
14d06fb6bd
support AMP.use_amp arg
2023-05-25 16:16:02 +08:00
gaotingquan
162f013ebe
fix: minimize() dont support parameter_list of type dict
...
there are diffs that step()+update() and minimize().
this will be fixed in https://github.com/PaddlePaddle/Paddle/pull/53773 .
2023-05-25 11:58:05 +08:00
gaotingquan
8b218b01ac
refactor amp auto_cast context manager & loss scaler
2023-05-25 11:58:05 +08:00
gaotingquan
f884f28853
refactor amp
2023-05-25 11:58:05 +08:00
gaotingquan
b3678234fe
fix bug when update_freq > iter_per_epoch
2023-05-17 15:19:13 +08:00
gaotingquan
9f621279b8
fix infer output
2023-04-17 20:28:40 +08:00
parap1uie-s
52f16cc85d
Update engine.py
2023-04-11 19:23:57 +08:00
parap1uie-s
6e6586f59b
Fixed the incorrect infer outputs
2023-04-11 19:23:57 +08:00
Yang Nie
5f2eaa7cb1
bugfix: set_epoch after reume
2023-04-06 15:33:30 +08:00
gaotingquan
f37cb543b1
rm op black list in amp
...
the op flatten_contiguous_range and greater_than has supported amp mode since paddle 2.4
2023-03-29 14:57:02 +08:00
gaotingquan
a7ba6eabd2
optimizer must be decorated when training with AMPO2
2023-03-28 18:42:26 +08:00
Tingquan Gao
5d06a88a36
Revert "refactor: simplify engine"
...
This reverts commit 376d83d46e54a03e96477d707a9d6addb8fee756.
2023-03-14 16:47:13 +08:00
Tingquan Gao
6aabb94d8c
Revert "refactor: add ClassModel to unify model forward interface"
...
This reverts commit 75a20ba5574340fa5742eba8e41aebe4de6c5eb8.
2023-03-14 16:47:13 +08:00
Tingquan Gao
e7e4f68b5c
Revert "refactor: build_train_func & build_eval_func"
...
This reverts commit 6bed0f5707e58dc02d71d3ea335a55cd1a454264.
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
a1e840e0da
Revert "refactor: iter_per_epoch -> max_iter"
...
This reverts commit a38e42f644fcba8b60a9672762211b6f7054b290.
2023-03-14 16:47:13 +08:00
Tingquan Gao
0efda2c75e
Revert "refactor: simpfy engine.train()"
...
This reverts commit fad5c8e348f748f047508226c3c23335874ef9dc.
2023-03-14 16:47:13 +08:00
Tingquan Gao
5a4ee1aec4
Revert "refactor"
...
This reverts commit 0e28a39da3952d10efaba71b1329459bb4df9db2.
2023-03-14 16:47:13 +08:00
Tingquan Gao
f42719afbb
Revert "replace the arg engine with config"
...
This reverts commit f525cea006c66b11e6fee69b2088d0adc08ca57f.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7243f1429b
Revert "rm codes for compatibility with old version"
...
This reverts commit 6e77bd6cd5f154d448b0c86e29ff1179b30f2755.
2023-03-14 16:47:13 +08:00
Tingquan Gao
56e8c5a992
Revert "mv model_saver to __init__()"
...
This reverts commit 0d7e595fc79dab16c96d8df75c428a0aa50050d1.
2023-03-14 16:47:13 +08:00
Tingquan Gao
f1a7a22a34
Revert "mv some attrs to __init__()"
...
This reverts commit 73e2cde617df2a13ffe647d1fceb5ab4ec967f8b.
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
915dde176a
Revert "refactor: rm train and eval from engine"
...
This reverts commit 5a6fe171a7cfab842adc6a744f11a2e24deb5384.
2023-03-14 16:47:13 +08:00
Tingquan Gao
aa52682c55
Revert "rm amp code from train and eval & use decorator for amp training"
...
This reverts commit d3941dc1e9628fa7cc83de7c3a6da3dfcd03b5de.
2023-03-14 16:47:13 +08:00
Tingquan Gao
85e200edb6
Revert "refactor"
...
This reverts commit 32593b63751b922e17b59384ed64654e6fcef42d.
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
8002ccf4b6
Revert "support ShiTu"
...
This reverts commit 9beb154bc3d082f521b05df49d538f93d5e5c0d4.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7865207096
Revert "revert for running"
...
This reverts commit 392b75b1acac742b74e808353059d0281df26dcc.
2023-03-14 16:47:13 +08:00
Tingquan Gao
7d41d24ce3
Revert "support Static"
...
This reverts commit c30df630356604fe0846de769d92a04d0130af61.
2023-03-14 16:47:13 +08:00
Tingquan Gao
b47fa5f50e
Revert "debug"
...
This reverts commit 58daf805a9e206d03f2a49bed3cb90a56c85b1f3.
2023-03-14 16:47:13 +08:00
Tingquan Gao
578054dddd
Revert "debug for infer"
...
This reverts commit 428edb6ff88fd5376a9262cfaec8f114f2d4327e.
2023-03-14 16:47:13 +08:00