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
921cc06f
Commit
921cc06f
authored
Mar 03, 2023
by
liuhy
Browse files
提交onnx模型
parent
4d0546cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
1 deletion
+1
-1
LPRNet.onnx
LPRNet.onnx
+0
-0
__pycache__/load_data.cpython-37.pyc
__pycache__/load_data.cpython-37.pyc
+0
-0
__pycache__/lprnet.cpython-37.pyc
__pycache__/lprnet.cpython-37.pyc
+0
-0
test.py
test.py
+1
-1
No files found.
LPRNet.onnx
0 → 100644
View file @
921cc06f
File added
__pycache__/load_data.cpython-37.pyc
View file @
921cc06f
No preview for this file type
__pycache__/lprnet.cpython-37.pyc
View file @
921cc06f
No preview for this file type
test.py
View file @
921cc06f
...
...
@@ -59,7 +59,7 @@ def validation(args):
print
(
'Image: '
+
args
.
imgpath
+
' recongise result: '
+
result
)
if
args
.
export_onnx
:
print
(
'export pyt
r
och model to onnx model...'
)
print
(
'export pyto
r
ch model to onnx model...'
)
onnx_input
=
torch
.
randn
(
1
,
3
,
24
,
94
,
device
=
args
.
device
)
torch
.
onnx
.
export
(
model
,
...
...
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