Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
efcdc871
Commit
efcdc871
authored
Jun 25, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compiler warnings
parent
1f5e4066
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
input.h
dlib/dnn/input.h
+2
-2
dnn_imagenet_train_ex.cpp
examples/dnn_imagenet_train_ex.cpp
+1
-1
No files found.
dlib/dnn/input.h
View file @
efcdc871
...
@@ -208,9 +208,9 @@ namespace dlib
...
@@ -208,9 +208,9 @@ namespace dlib
auto
ptr
=
data
.
host
();
auto
ptr
=
data
.
host
();
for
(
auto
i
=
ibegin
;
i
!=
iend
;
++
i
)
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
);
rgb_pixel
temp
=
(
*
i
)(
r
,
c
);
auto
p
=
ptr
++
;
auto
p
=
ptr
++
;
...
...
examples/dnn_imagenet_train_ex.cpp
View file @
efcdc871
...
@@ -132,7 +132,7 @@ struct image_info
...
@@ -132,7 +132,7 @@ struct image_info
{
{
string
filename
;
string
filename
;
string
label
;
string
label
;
unsigned
long
numeric_label
;
long
numeric_label
;
};
};
std
::
vector
<
image_info
>
get_imagenet_train_listing
(
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