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
crnn_pytorch
Commits
84ba1ef9
"torchvision/vscode:/vscode.git/clone" did not exist on "2937d77d676c604dc071ddf9cf8d8fcd66cc1736"
Commit
84ba1ef9
authored
Oct 17, 2024
by
dcuai
Browse files
Update create_dataset.py
parent
39b62820
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
create_dataset.py
create_dataset.py
+1
-1
No files found.
create_dataset.py
View file @
84ba1ef9
...
@@ -89,7 +89,7 @@ if __name__ == '__main__':
...
@@ -89,7 +89,7 @@ if __name__ == '__main__':
output_path
=
"./synth90k"
output_path
=
"./synth90k"
dataset_path
=
"90kDICT32px/"
dataset_path
=
"90kDICT32px/"
train_labels
,
train_images
=
parse_labels
(
dataset_path
+
"annotation_train.txt"
)
train_labels
,
train_images
=
parse_labels
(
dataset_path
+
"annotation_train.txt"
)
val_labels
,
val_images
=
pa
e
se_labels
(
dataset_path
+
"annotation_val.txt"
)
val_labels
,
val_images
=
pa
r
se_labels
(
dataset_path
+
"annotation_val.txt"
)
#print(train_labels)
#print(train_labels)
print
(
"="
*
50
)
print
(
"="
*
50
)
...
...
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