Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
Opencv Zoo
提交
b4971d62
O
Opencv Zoo
项目概览
张重言
/
Opencv Zoo
10 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv Zoo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b4971d62
编写于
3月 08, 2023
作者:
Y
Yuantao Feng
提交者:
GitHub
3月 08, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bump lpd_yunet opset version to 13 (#142)
上级
e06fd7dc
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
3 deletion
+9
-3
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_2023mar-act_int8-wt_int8-quantized.onnx
...tection_lpd_yunet_2023mar-act_int8-wt_int8-quantized.onnx
+3
-0
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_2023mar.onnx
...tion_yunet/license_plate_detection_lpd_yunet_2023mar.onnx
+3
-0
tools/quantize/quantize-inc.py
tools/quantize/quantize-inc.py
+0
-3
tools/quantize/quantize-ort.py
tools/quantize/quantize-ort.py
+3
-0
未找到文件。
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_202
2may-
int8-quantized.onnx
→
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_202
3mar-act_int8-wt_
int8-quantized.onnx
LFS
浏览文件 @
b4971d62
无法预览此类型文件
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_202
2may
.onnx
→
models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_202
3mar
.onnx
LFS
浏览文件 @
b4971d62
无法预览此类型文件
tools/quantize/quantize-inc.py
浏览文件 @
b4971d62
...
...
@@ -130,9 +130,6 @@ models = dict(
mp_handpose
=
Quantize
(
model_path
=
'../../models/handpose_estimation_mediapipe/handpose_estimation_mediapipe_2022may.onnx'
,
config_path
=
'./inc_configs/mp_handpose.yaml'
,
custom_dataset
=
Dataset
(
root
=
'../../benchmark/data/palm_detection'
,
dim
=
'hwc'
,
swapRB
=
True
,
mean
=
127.5
,
std
=
127.5
,
toFP32
=
True
)),
lpd_yunet
=
Quantize
(
model_path
=
'../../models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_2022may.onnx'
,
config_path
=
'./inc_configs/lpd_yunet.yaml'
,
custom_dataset
=
Dataset
(
root
=
'../../benchmark/data/license_plate_detection'
,
size
=
(
320
,
240
),
dim
=
'chw'
,
toFP32
=
True
)),
fer
=
Quantize
(
model_path
=
'../../models/facial_expression_recognition/facial_expression_recognition_mobilefacenet_2022july.onnx'
,
config_path
=
'./inc_configs/fer.yaml'
,
custom_dataset
=
FerDataset
(
root
=
'../../benchmark/data/facial_expression_recognition/fer_calibration'
,
size
=
(
112
,
112
),
toFP32
=
True
,
swapRB
=
True
,
scale
=
1.
/
255
,
mean
=
0.5
,
std
=
0.5
),
...
...
tools/quantize/quantize-ort.py
浏览文件 @
b4971d62
...
...
@@ -116,6 +116,9 @@ models=dict(
calibration_image_dir
=
'path/to/dataset'
,
transforms
=
Compose
([
HandAlign
(
"mp_handpose"
),
Resize
(
size
=
(
224
,
224
)),
Normalize
(
std
=
[
255
,
255
,
255
]),
ColorConvert
(
ctype
=
cv
.
COLOR_BGR2RGB
)]),
data_dim
=
'hwc'
),
lpd_yunet
=
Quantize
(
model_path
=
'../../models/license_plate_detection_yunet/license_plate_detection_lpd_yunet_2023mar.onnx'
,
calibration_image_dir
=
'../../benchmark/data/license_plate_detection'
,
transforms
=
Compose
([
Resize
(
size
=
(
320
,
240
))])),
)
if
__name__
==
'__main__'
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录