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
1089716d
Commit
1089716d
authored
Mar 06, 2023
by
liuhy
Browse files
修改readme
parent
1fe2937e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-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
__pycache__/train.cpython-37.pyc
__pycache__/train.cpython-37.pyc
+0
-0
lprnet.py
lprnet.py
+0
-2
train.py
train.py
+1
-0
weights/Final_LPRNet_model.pth
weights/Final_LPRNet_model.pth
+0
-0
No files found.
README.md
View file @
1089716d
...
...
@@ -55,6 +55,7 @@ LPR模型用test.py对训练出的模型进行测试,使用方法如下:
python test.py \
--model 需要测试的pth模型路径 \
--imgpath 测试集路径(文件夹或图像皆可) \
--batch_size 测试时的batch size大小 \
--export_onnx True/False(该参数用于选择是否需要将pth模型转为onnx模型) \
--dynamic True/False(该参数用于选择onnx模型是否使用动态的batch size)
...
...
__pycache__/load_data.cpython-37.pyc
View file @
1089716d
No preview for this file type
__pycache__/lprnet.cpython-37.pyc
View file @
1089716d
No preview for this file type
__pycache__/train.cpython-37.pyc
0 → 100644
View file @
1089716d
File added
lprnet.py
View file @
1089716d
...
...
@@ -89,5 +89,3 @@ def build_lprnet(class_num, phase=False):
return
Net
.
train
()
else
:
return
Net
.
eval
()
train.py
View file @
1089716d
...
...
@@ -178,6 +178,7 @@ def train(args):
if
(
iteration
+
1
)
%
args
.
test_interval
==
0
:
Greedy_Decode_Eval
(
lprnet
,
test_dataset
,
args
)
# lprnet.train()
start_time
=
time
.
time
()
# load train data
...
...
weights/Final_LPRNet_model.pth
0 → 100644
View file @
1089716d
File added
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