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
9d32b83a
Commit
9d32b83a
authored
Jan 19, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor code cleanup
parent
73b54620
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
load_image_dataset.h
dlib/data_io/load_image_dataset.h
+2
-4
No files found.
dlib/data_io/load_image_dataset.h
View file @
9d32b83a
...
...
@@ -45,8 +45,7 @@ namespace dlib
// Set the current directory to be the one that contains the
// metadata file. We do this because the file might contain
// file paths which are relative to this folder.
const
std
::
string
parent_dir
=
get_parent_directory
(
file
(
filename
)).
full_name
();
set_current_dir
(
parent_dir
);
set_current_dir
(
get_parent_directory
(
file
(
filename
)));
...
...
@@ -121,8 +120,7 @@ namespace dlib
// Set the current directory to be the one that contains the
// metadata file. We do this because the file might contain
// file paths which are relative to this folder.
const
std
::
string
parent_dir
=
get_parent_directory
(
file
(
filename
)).
full_name
();
set_current_dir
(
parent_dir
);
set_current_dir
(
get_parent_directory
(
file
(
filename
)));
std
::
set
<
std
::
string
>
all_parts
;
...
...
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