Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
08e27331
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
08e27331
编写于
6月 09, 2022
作者:
G
gaotingquan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: threshold of output
上级
ebe19ce8
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
22 addition
and
21 deletion
+22
-21
deploy/configs/PULC/safety_helmet/inference_safety_helmet.yaml
...y/configs/PULC/safety_helmet/inference_safety_helmet.yaml
+1
-1
ppcls/configs/PULC/safety_helmet/MobileNetV3_small_x0_35.yaml
...s/configs/PULC/safety_helmet/MobileNetV3_small_x0_35.yaml
+6
-6
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0.yaml
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0.yaml
+3
-3
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_distillation.yaml
...configs/PULC/safety_helmet/PPLCNet_x1_0_distillation.yaml
+3
-3
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_search.yaml
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_search.yaml
+3
-3
ppcls/configs/PULC/safety_helmet/Res2Net200_vd_26w_4s.yaml
ppcls/configs/PULC/safety_helmet/Res2Net200_vd_26w_4s.yaml
+4
-3
ppcls/configs/PULC/safety_helmet/SwinTransformer_tiny_patch4_window7_224.yaml
...afety_helmet/SwinTransformer_tiny_patch4_window7_224.yaml
+2
-2
未找到文件。
deploy/configs/PULC/safety_helmet/inference_safety_helmet.yaml
浏览文件 @
08e27331
...
@@ -29,7 +29,7 @@ PreProcess:
...
@@ -29,7 +29,7 @@ PreProcess:
PostProcess
:
PostProcess
:
main_indicator
:
ThreshOutput
main_indicator
:
ThreshOutput
ThreshOutput
:
ThreshOutput
:
threshold
:
0.
9
threshold
:
0.
5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
SavePreLabel
:
SavePreLabel
:
...
...
ppcls/configs/PULC/safety_helmet/MobileNetV3_
large
_x0_35.yaml
→
ppcls/configs/PULC/safety_helmet/MobileNetV3_
small
_x0_35.yaml
浏览文件 @
08e27331
...
@@ -16,7 +16,7 @@ Global:
...
@@ -16,7 +16,7 @@ Global:
# model architecture
# model architecture
Arch
:
Arch
:
name
:
MobileNetV3_
large
_x0_35
name
:
MobileNetV3_
small
_x0_35
pretrained
:
True
pretrained
:
True
class_num
:
2
class_num
:
2
...
@@ -36,7 +36,7 @@ Optimizer:
...
@@ -36,7 +36,7 @@ Optimizer:
momentum
:
0.9
momentum
:
0.9
lr
:
lr
:
name
:
Cosine
name
:
Cosine
learning_rate
:
0.0
50
learning_rate
:
0.0
15
warmup_epoch
:
5
warmup_epoch
:
5
regularizer
:
regularizer
:
name
:
'
L2'
name
:
'
L2'
...
@@ -67,7 +67,7 @@ DataLoader:
...
@@ -67,7 +67,7 @@ DataLoader:
sampler
:
sampler
:
name
:
DistributedBatchSampler
name
:
DistributedBatchSampler
batch_size
:
256
batch_size
:
64
drop_last
:
False
drop_last
:
False
shuffle
:
True
shuffle
:
True
loader
:
loader
:
...
@@ -120,16 +120,16 @@ Infer:
...
@@ -120,16 +120,16 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
Metric
:
Metric
:
Train
:
Train
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
Eval
:
Eval
:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0.yaml
浏览文件 @
08e27331
...
@@ -119,16 +119,16 @@ Infer:
...
@@ -119,16 +119,16 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
Metric
:
Metric
:
Train
:
Train
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
Eval
:
Eval
:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_distillation.yaml
浏览文件 @
08e27331
...
@@ -169,7 +169,7 @@ Infer:
...
@@ -169,7 +169,7 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
...
@@ -177,9 +177,9 @@ Metric:
...
@@ -177,9 +177,9 @@ Metric:
Train
:
Train
:
-
DistillationTopkAcc
:
-
DistillationTopkAcc
:
model_key
:
"
Student"
model_key
:
"
Student"
topk
:
[
1
,
2
]
topk
:
[
1
]
Eval
:
Eval
:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
ppcls/configs/PULC/safety_helmet/PPLCNet_x1_0_search.yaml
浏览文件 @
08e27331
...
@@ -133,16 +133,16 @@ Infer:
...
@@ -133,16 +133,16 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
Metric
:
Metric
:
Train
:
Train
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
Eval
:
Eval
:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
ppcls/configs/PULC/safety_helmet/Res2Net200_vd_26w_4s.yaml
浏览文件 @
08e27331
...
@@ -121,16 +121,17 @@ Infer:
...
@@ -121,16 +121,17 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
Metric
:
Metric
:
Train
:
Train
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
Eval
:
Eval
:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
ppcls/configs/PULC/safety_helmet/SwinTransformer_tiny_patch4_window7_224.yaml
浏览文件 @
08e27331
...
@@ -139,7 +139,7 @@ Infer:
...
@@ -139,7 +139,7 @@ Infer:
-
ToCHWImage
:
-
ToCHWImage
:
PostProcess
:
PostProcess
:
name
:
ThreshOutput
name
:
ThreshOutput
threshold
:
0.
923
5
threshold
:
0.5
label_0
:
wearing_helmet
label_0
:
wearing_helmet
label_1
:
unwearing_helmet
label_1
:
unwearing_helmet
...
@@ -148,4 +148,4 @@ Metric:
...
@@ -148,4 +148,4 @@ Metric:
-
TprAtFpr
:
-
TprAtFpr
:
max_fpr
:
0.0001
max_fpr
:
0.0001
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录