Fixed --cluster not working with relative paths.

This commit is contained in:
Davis King 2016-09-28 09:28:40 -04:00
parent 4eb8448721
commit 0614700358
1 changed files with 1 additions and 1 deletions

View File

@ -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);