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
OpenDAS
dlib
Commits
093f709a
Commit
093f709a
authored
Dec 18, 2016
by
Davis King
Browse files
Minor improvement to example
parent
ab1575da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/dnn_metric_learning_on_images_ex.cpp
examples/dnn_metric_learning_on_images_ex.cpp
+2
-1
No files found.
examples/dnn_metric_learning_on_images_ex.cpp
View file @
093f709a
...
@@ -67,7 +67,8 @@ std::vector<std::vector<string>> load_objects_list (
...
@@ -67,7 +67,8 @@ std::vector<std::vector<string>> load_objects_list (
for
(
auto
img
:
subdir
.
get_files
())
for
(
auto
img
:
subdir
.
get_files
())
imgs
.
push_back
(
img
);
imgs
.
push_back
(
img
);
objects
.
push_back
(
imgs
);
if
(
imgs
.
size
()
!=
0
)
objects
.
push_back
(
imgs
);
}
}
return
objects
;
return
objects
;
}
}
...
...
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