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
04248caf
Commit
04248caf
authored
Jun 25, 2016
by
Davis King
Browse files
merged
parents
48d64957
efcdc871
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dlib/dnn/input.h
dlib/dnn/input.h
+2
-2
examples/dnn_imagenet_train_ex.cpp
examples/dnn_imagenet_train_ex.cpp
+1
-1
No files found.
dlib/dnn/input.h
View file @
04248caf
...
...
@@ -208,9 +208,9 @@ namespace dlib
auto
ptr
=
data
.
host
();
for
(
auto
i
=
ibegin
;
i
!=
iend
;
++
i
)
{
for
(
long
r
=
0
;
r
<
NR
;
++
r
)
for
(
size_t
r
=
0
;
r
<
NR
;
++
r
)
{
for
(
long
c
=
0
;
c
<
NC
;
++
c
)
for
(
size_t
c
=
0
;
c
<
NC
;
++
c
)
{
rgb_pixel
temp
=
(
*
i
)(
r
,
c
);
auto
p
=
ptr
++
;
...
...
examples/dnn_imagenet_train_ex.cpp
View file @
04248caf
...
...
@@ -132,7 +132,7 @@ struct image_info
{
string
filename
;
string
label
;
unsigned
long
numeric_label
;
long
numeric_label
;
};
std
::
vector
<
image_info
>
get_imagenet_train_listing
(
...
...
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