Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleSlim
提交
0c495767
P
PaddleSlim
项目概览
PaddlePaddle
/
PaddleSlim
大约 2 年 前同步成功
通知
51
Star
1434
Fork
344
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
53
列表
看板
标记
里程碑
合并请求
16
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleSlim
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
53
Issue
53
列表
看板
标记
里程碑
合并请求
16
合并请求
16
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
0c495767
编写于
7月 20, 2022
作者:
Z
zhouzj
提交者:
GitHub
7月 20, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update quantization accuracy of mobilenetV3 (#1302)
* update mbv3. * update mbv3. * update mbv3. * fix comments
上级
31cfaf7b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
12 deletion
+11
-12
example/auto_compression/image_classification/README.md
example/auto_compression/image_classification/README.md
+3
-1
example/auto_compression/image_classification/configs/MobileNetV3_large_x1_0/qat_dis.yaml
...lassification/configs/MobileNetV3_large_x1_0/qat_dis.yaml
+8
-11
未找到文件。
example/auto_compression/image_classification/README.md
浏览文件 @
0c495767
...
@@ -42,7 +42,9 @@
...
@@ -42,7 +42,9 @@
| GhostNet_x1_0 | Baseline | 74.02 | 2.93 | - | - |
[
Model
](
https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/GhostNet_x1_0_infer.tar
)
|
| GhostNet_x1_0 | Baseline | 74.02 | 2.93 | - | - |
[
Model
](
https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/GhostNet_x1_0_infer.tar
)
|
| GhostNet_x1_0 | 量化+蒸馏 | 72.62 | 1.03 | - |
[
Config
](
./config/GhostNet_x1_0/qat_dis.yaml
)
|
[
Model
](
https://paddle-slim-models.bj.bcebos.com/act/GhostNet_x1_0_QAT.tar
)
|
| GhostNet_x1_0 | 量化+蒸馏 | 72.62 | 1.03 | - |
[
Config
](
./config/GhostNet_x1_0/qat_dis.yaml
)
|
[
Model
](
https://paddle-slim-models.bj.bcebos.com/act/GhostNet_x1_0_QAT.tar
)
|
| MobileNetV3_large_x1_0 | Baseline | 75.32 | - | 16.62 | - |
[
Model
](
https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV3_large_x1_0_infer.tar
)
|
| MobileNetV3_large_x1_0 | Baseline | 75.32 | - | 16.62 | - |
[
Model
](
https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV3_large_x1_0_infer.tar
)
|
| MobileNetV3_large_x1_0 | 量化+蒸馏 | 70.93 | - | 9.85 |
[
Config
](
./config/MobileNetV3_large_x1_0/qat_dis.yaml
)
|
[
Model
](
https://paddle-slim-models.bj.bcebos.com/act/MobileNetV3_large_x1_0_QAT.tar
)
|
| MobileNetV3_large_x1_0 | 量化+蒸馏 | 74.41 | - | 9.85 |
[
Config
](
./config/MobileNetV3_large_x1_0/qat_dis.yaml
)
|
[
Model
](
https://paddle-slim-models.bj.bcebos.com/act/MobileNetV3_large_x1_0_QAT.tar
)
|
| MobileNetV3_large_x1_0_ssld | Baseline | 78.96 | - | 16.62 | - |
[
Model
](
https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV3_large_x1_0_ssld_infer.tar
)
|
| MobileNetV3_large_x1_0_ssld | 量化+蒸馏 | 77.17 | - | 9.85 |
[
Config
](
./config/MobileNetV3_large_x1_0/qat_dis.yaml
)
|
[
Model
](
https://paddle-slim-models.bj.bcebos.com/act/MobileNetV3_large_x1_0_ssld_QAT.tar
)
|
-
ARM CPU 测试环境:
`SDM865(4xA77+4xA55)`
-
ARM CPU 测试环境:
`SDM865(4xA77+4xA55)`
-
Nvidia GPU 测试环境:
-
Nvidia GPU 测试环境:
...
...
example/auto_compression/image_classification/configs/MobileNetV3_large_x1_0/qat_dis.yaml
浏览文件 @
0c495767
Global
:
Global
:
input_name
:
inputs
input_name
:
inputs
model_dir
:
MobileNetV3_large_x1_0_infer
model_dir
:
MobileNetV3_large_x1_0_
ssld_
infer
model_filename
:
inference.pdmodel
model_filename
:
inference.pdmodel
params_filename
:
inference.pdiparams
params_filename
:
inference.pdiparams
batch_size
:
32
batch_size
:
128
data_dir
:
./ILSVRC2012
data_dir
:
./ILSVRC2012
Distillation
:
Distillation
:
alpha
:
1.0
alpha
:
1.0
loss
:
l2
loss
:
soft_label
node
:
-
softmax_0.tmp_0
Quantization
:
Quantization
:
use_pact
:
true
use_pact
:
true
activation_bits
:
8
activation_bits
:
8
...
@@ -22,15 +20,14 @@ Quantization:
...
@@ -22,15 +20,14 @@ Quantization:
quantize_op_types
:
quantize_op_types
:
-
conv2d
-
conv2d
-
depthwise_conv2d
-
depthwise_conv2d
-
matmul
weight_bits
:
8
weight_bits
:
8
TrainConfig
:
TrainConfig
:
epochs
:
1
epochs
:
2
eval_iter
:
500
eval_iter
:
5000
learning_rate
:
learning_rate
:
0.001
type
:
CosineAnnealingDecay
learning_rate
:
0.015
optimizer_builder
:
optimizer_builder
:
optimizer
:
optimizer
:
type
:
Momentum
type
:
Momentum
weight_decay
:
0.00002
weight_decay
:
0.00002
origin_metric
:
0.7
532
origin_metric
:
0.7
896
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录