mirror of https://github.com/davisking/dlib.git
Fixed --cluster not working with relative paths.
This commit is contained in:
parent
4eb8448721
commit
0614700358
|
@ -139,8 +139,8 @@ int cluster_dataset(
|
|||
|
||||
image_dataset_metadata::dataset data;
|
||||
|
||||
set_current_dir(get_parent_directory(file(parser[0])));
|
||||
image_dataset_metadata::load_image_dataset_metadata(data, parser[0]);
|
||||
set_current_dir(get_parent_directory(file(parser[0])));
|
||||
|
||||
const double aspect_ratio = mean_aspect_ratio(data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue