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
30d56419
Commit
30d56419
authored
Mar 03, 2023
by
liuhy
Browse files
修改Readme
parent
921cc06f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
LPRNet_ORT_infer.py
LPRNet_ORT_infer.py
+1
-1
README.md
README.md
+4
-4
model/LPRNet.mxr
model/LPRNet.mxr
+0
-0
No files found.
LPRNet_ORT_infer.py
View file @
30d56419
...
...
@@ -44,7 +44,7 @@ def LPRNetPostprocess(infer_res):
return
result
def
LPRNetInference
(
args
):
if
ort
.
get_device
()
==
"GPU"
:
if
ort
.
get_device
()
==
"GPU
-MIGRAPHX
"
:
sess
=
ort
.
InferenceSession
(
args
.
model
,
providers
=
[
'ROCMExecutionProvider'
],)
#DCU版本
else
:
sess
=
ort
.
InferenceSession
(
args
.
model
,
providers
=
[
'CPUExecutionProvider'
])
# CPU版本
...
...
README.md
View file @
30d56419
...
...
@@ -81,9 +81,9 @@ LPRNet_migraphx_infer.py是基于Migraphx的推理脚本,使用需安装好Mig
| Engine | Model Path| Model Format | Accuracy(%) | Speed(ms) |
| :------: | :------: | :------: | :------: |:------: |
| ONNXRuntime | model/LPRNet.onnx | onnx | 91.0 |
37.62
|
| Migraphx | model/LPRNet.onnx |onnx | 91.0 |
3.70
|
| Migraphx | model/LPRNet.mxr |mxr | 91.0 |
3.27
|
| ONNXRuntime | model/LPRNet.onnx | onnx | 91.0 |
2.59
|
| Migraphx | model/LPRNet.onnx |onnx | 91.0 |
2.66
|
| Migraphx | model/LPRNet.mxr |mxr | 91.0 |
2.49
|
## 参考
*
[
LPRNet_Pytorch
](
https://github.com/sirius-ai/LPRNet_Pytorch
)
*
[
license-plate-detect-recoginition
](
https://github.com/qzpzd/license-plate-detect-recoginition
)
\ No newline at end of file
*
[
license-plate-detect-recoginition
](
https://github.com/qzpzd/license-plate-detect-recoginition
)
model/LPRNet.mxr
View file @
30d56419
No preview for this file type
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