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
e58da513
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "0b1e04f08309ce3f8903421c5804672e90d19b96"
Commit
e58da513
authored
Nov 29, 2020
by
Davis King
Browse files
minor cleanup
parent
d3b02131
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/data_io/cifar.cpp
dlib/data_io/cifar.cpp
+1
-1
No files found.
dlib/data_io/cifar.cpp
View file @
e58da513
...
@@ -21,7 +21,7 @@ namespace dlib
...
@@ -21,7 +21,7 @@ namespace dlib
std
::
vector
<
unsigned
long
>&
labels
std
::
vector
<
unsigned
long
>&
labels
)
)
{
{
std
::
ifstream
fin
(
(
folder_name
+
"/"
+
batch_name
).
c_str
()
,
std
::
ios
::
binary
);
std
::
ifstream
fin
(
folder_name
+
"/"
+
batch_name
,
std
::
ios
::
binary
);
if
(
!
fin
)
throw
error
(
"Unable to open file "
+
batch_name
);
if
(
!
fin
)
throw
error
(
"Unable to open file "
+
batch_name
);
const
long
nr
=
32
;
const
long
nr
=
32
;
const
long
nc
=
32
;
const
long
nc
=
32
;
...
...
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