mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Improved xml logging for --resample
This commit is contained in:
parent
f8fcfcd0b4
commit
0848616d99
@ -423,6 +423,8 @@ int resample_dataset(const command_line_parser& parser)
|
||||
sout << " cropped-object-size: "<< obj_size << endl;
|
||||
sout << " crop-size: "<< margin_scale << endl;
|
||||
sout << " min-object-size: "<< min_object_size << endl;
|
||||
if (one_object_per_image)
|
||||
sout << " one_object_per_image: true" << endl;
|
||||
resampled_data.comment = data.comment + sout.str();
|
||||
resampled_data.name = data.name + " RESAMPLED";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user