Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
LPRNet_pytorch
Commits
2acfe7eb
Commit
2acfe7eb
authored
Mar 03, 2023
by
刘明贵
Browse files
修改readme
parent
93f09833
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
README.md
README.md
+9
-4
No files found.
README.md
View file @
2acfe7eb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
*
@Author: liuhy
*
@Author: liuhy
*
@email: liuhy6@sugon.com
*
@email: liuhy6@sugon.com
*
@Date: 2023-03-03 10:17:07
*
@Date: 2023-03-03 10:17:07
*
@LastEditTime: 2023-03-03 10:4
1:59
*
@LastEditTime: 2023-03-03 10:4
4:00
*
@FilePath:
\l
pr
\R
EADME.md
*
@FilePath:
\l
pr
\R
EADME.md
-->
-->
# License-Plate-Recoginition(LPR)
# License-Plate-Recoginition(LPR)
...
@@ -35,7 +35,8 @@ python train.py --train_img_dirs 训练集文件夹路径 --test_img_dirs 验证
...
@@ -35,7 +35,8 @@ python train.py --train_img_dirs 训练集文件夹路径 --test_img_dirs 验证
--resume_epoch Fine-tuning训练的起始epoch
--resume_epoch Fine-tuning训练的起始epoch
--max_epoch 训练的最大epoch
--max_epoch 训练的最大epoch
`
`
Fine-tuning时只训练从起始epoch到最大epoch
Fine-tuning时只训练从起始epoch到最大epoch。
### 测试
### 测试
LPR模型用test.py对训练出的模型进行测试,使用方法如下:
LPR模型用test.py对训练出的模型进行测试,使用方法如下:
...
@@ -52,11 +53,15 @@ LPR模型用test.py对训练出的模型进行测试,使用方法如下:
...
@@ -52,11 +53,15 @@ LPR模型用test.py对训练出的模型进行测试,使用方法如下:
#### ORT
#### ORT
LPRNet_ORT_infer.py是基于ORT的的推理脚本,使用方法:
LPRNet_ORT_infer.py是基于ORT的的推理脚本,使用方法:
python LPRNet_ORT_infer.py --model onnx模型路径 --imgpath 数据路径(文件夹图像皆可)
`
python LPRNet_ORT_infer.py --model onnx模型路径 --imgpath 数据路径(文件夹图像皆可)
`
#### Migraphx
#### Migraphx
LPRNet_migraphx_infer.py是基于Migraphx的推理脚本,使用需安装好Migraphx,支持onnx模型和mxr模型推理,mxr模型是migraphx将onnx模型保存成的离线推理引擎,初次使用onnx模型会保存对应的mxr模型。使用方法:
LPRNet_migraphx_infer.py是基于Migraphx的推理脚本,使用需安装好Migraphx,支持onnx模型和mxr模型推理,mxr模型是migraphx将onnx模型保存成的离线推理引擎,初次使用onnx模型会保存对应的mxr模型。使用方法:
python LPRNet_migraphx_infer.py --model mxr/onnx模型路径 --imgpath 数据路径(文件夹图像皆可) --savepath mxr模型的保存路径以及模型名称
`
python LPRNet_migraphx_infer.py --model mxr/onnx模型路径 --imgpath 数据路径(文件夹图像皆可) --savepath mxr模型的保存路径以及模型名称
`
## 性能和准确率数据
## 性能和准确率数据
测试数据使用的是
[
LPRNet_Pytorch
](
https://github.com/sirius-ai/LPRNet_Pytorch/tree/master/data/test
)
,使用的加速卡是DCU Z100。
**mxr格式的模型是migraphx创建的onnx模型的离线引擎。**
测试数据使用的是
[
LPRNet_Pytorch
](
https://github.com/sirius-ai/LPRNet_Pytorch/tree/master/data/test
)
,使用的加速卡是DCU Z100。
**mxr格式的模型是migraphx创建的onnx模型的离线引擎。**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment