Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
5f14efd5
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
5f14efd5
编写于
3月 27, 2023
作者:
L
LokeZhou
提交者:
GitHub
3月 27, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TIPC] * benchamrk use cocomini dataset (#7995)
* benchamrk set run 5m finish * static train pop data['image_file']
上级
2b2db894
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
18 addition
and
13 deletion
+18
-13
ppdet/engine/trainer.py
ppdet/engine/trainer.py
+3
-0
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+2
-2
test_tipc/configs/deformable_detr/deformable_detr_r50_1x_coco_train_infer_python.txt
...e_detr/deformable_detr_r50_1x_coco_train_infer_python.txt
+1
-1
test_tipc/configs/dino/dino_r50_4scale_1x_coco_train_infer_python.txt
...nfigs/dino/dino_r50_4scale_1x_coco_train_infer_python.txt
+1
-1
test_tipc/configs/fcos/fcos_r50_fpn_1x_coco_train_infer_python.txt
.../configs/fcos/fcos_r50_fpn_1x_coco_train_infer_python.txt
+1
-1
test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_infer_python.txt
...ask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_infer_python.txt
+1
-1
test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt
...s/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt
+1
-1
test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt
...gs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt
+3
-1
test_tipc/configs/yolov3/yolov3_darknet53_270e_coco_train_infer_python.txt
.../yolov3/yolov3_darknet53_270e_coco_train_infer_python.txt
+1
-1
test_tipc/prepare.sh
test_tipc/prepare.sh
+3
-3
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+1
-1
未找到文件。
ppdet/engine/trainer.py
浏览文件 @
5f14efd5
...
...
@@ -487,6 +487,9 @@ class Trainer(object):
profiler
.
add_profiler_step
(
profiler_options
)
self
.
_compose_callback
.
on_step_begin
(
self
.
status
)
data
[
'epoch_id'
]
=
epoch_id
if
self
.
cfg
.
get
(
'to_static'
,
False
)
and
'image_file'
in
data
.
keys
():
data
.
pop
(
'image_file'
)
if
self
.
use_amp
:
if
isinstance
(
...
...
test_tipc/benchmark_train.sh
浏览文件 @
5f14efd5
...
...
@@ -243,7 +243,7 @@ for batch_size in ${batch_size_list[*]}; do
--run_mode
${
run_mode
}
\
--fp_item
${
precision
}
\
--keyword ips:
\
--skip_steps
2
\
--skip_steps
4
\
--device_num
${
device_num
}
\
--speed_unit images/s
\
--convergence_key loss: "
...
...
@@ -279,7 +279,7 @@ for batch_size in ${batch_size_list[*]}; do
--run_mode
${
run_mode
}
\
--fp_item
${
precision
}
\
--keyword ips:
\
--skip_steps
2
\
--skip_steps
4
\
--device_num
${
device_num
}
\
--speed_unit images/s
\
--convergence_key loss: "
...
...
test_tipc/configs/deformable_detr/deformable_detr_r50_1x_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,6 +53,6 @@ inference:./deploy/python/infer.py
batch_size:2
fp_items:fp32|fp16
epoch:1
repeat:
2
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
\ No newline at end of file
test_tipc/configs/dino/dino_r50_4scale_1x_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,7 +53,7 @@ inference:./deploy/python/infer.py
batch_size:2
fp_items:fp32|fp16
epoch:1
repeat:
2
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
...
...
test_tipc/configs/fcos/fcos_r50_fpn_1x_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,7 +53,7 @@ inference:./deploy/python/infer.py
batch_size:2|8
fp_items:fp32|fp16
epoch:1
repeat:
3
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
...
...
test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,7 +53,7 @@ inference:./deploy/python/infer.py
batch_size:2|4
fp_items:fp32|fp16
epoch:1
repeat:
2
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
...
...
test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,7 +53,7 @@ null:null
batch_size:64
fp_items:fp32|fp16
epoch:1
repeat:
25
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
...
...
test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,8 +53,10 @@ inference:./deploy/python/infer.py
batch_size:8
fp_items:fp32|fp16
epoch:1
repeat:1
2
repeat:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
numpy_infer_input:3x640x640_2.npy
===========================to_static_train_benchmark_params===========================
to_static_train:--to_static
test_tipc/configs/yolov3/yolov3_darknet53_270e_coco_train_infer_python.txt
浏览文件 @
5f14efd5
...
...
@@ -53,7 +53,7 @@ null:null
batch_size:8
fp_items:fp32|fp16
epoch:1
repeat:
3
repeat:
1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
flags:null
===========================infer_benchmark_params===========================
...
...
test_tipc/prepare.sh
浏览文件 @
5f14efd5
...
...
@@ -99,9 +99,9 @@ elif [ ${MODE} = "benchmark_train" ];then
cd
../../
else
# prepare lite benchmark coco data
wget
-nc
-P
./dataset/coco/ https://
paddledet.bj.bcebos.com/data/coco_benchmark.tar
--no-check-certificate
cd
./dataset/coco/
&&
tar
-xf
coco_benchmark.tar
mv
-u
coco
_benchmark
/
*
./
wget
-nc
-P
./dataset/coco/ https://
bj.bcebos.com/v1/paddledet/data/cocomini.zip
--no-check-certificate
cd
./dataset/coco/
&&
unzip cocomini.zip
mv
-u
coco
mini
/
*
./
ls
./
cd
../../
# prepare lite benchmark mot data
...
...
test_tipc/test_train_inference_python.sh
浏览文件 @
5f14efd5
...
...
@@ -311,7 +311,7 @@ else
fi
# run train
train_log_path
=
"
${
LOG_PATH
}
/
${
trainer
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
_nodes_
${
nodes
}
.log"
eval
"
${
cmd
}
>
${
train_log_path
}
2>&1"
eval
"
timeout 5m
${
cmd
}
>
${
train_log_path
}
2>&1"
last_status
=
$?
cat
${
train_log_path
}
status_check
$last_status
"
${
cmd
}
"
"
${
status_log
}
"
"
${
model_name
}
"
"
${
train_log_path
}
"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录