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
ResNet50_tensorflow
Commits
279305ee
"tests/vscode:/vscode.git/clone" did not exist on "3870001ad33d09a3a691375c4bd2de7f56b29808"
Commit
279305ee
authored
Sep 05, 2017
by
JongYoon Lim
Browse files
fix code documentation.
parent
db74c7e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
object_detection/create_pet_tf_record.py
object_detection/create_pet_tf_record.py
+1
-1
No files found.
object_detection/create_pet_tf_record.py
View file @
279305ee
...
@@ -55,7 +55,7 @@ def get_class_name_from_filename(file_name):
...
@@ -55,7 +55,7 @@ def get_class_name_from_filename(file_name):
ie. "american_pit_bull_terrier_105.jpg"
ie. "american_pit_bull_terrier_105.jpg"
Returns:
Returns:
example: The converted tf.Exampl
e.
A string of the class nam
e.
"""
"""
match
=
re
.
match
(
r
'([A-Za-z_]+)(_[0-9]+\.jpg)'
,
file_name
,
re
.
I
)
match
=
re
.
match
(
r
'([A-Za-z_]+)(_[0-9]+\.jpg)'
,
file_name
,
re
.
I
)
return
match
.
groups
()[
0
]
return
match
.
groups
()[
0
]
...
...
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