Commit e9aadb64 authored by Andrei Roibu's avatar Andrei Roibu
Browse files

added cross domain x2x y2y flags

parent afb013e3
...@@ -345,6 +345,8 @@ def evaluate_mapping(mapping_evaluation_parameters): ...@@ -345,6 +345,8 @@ def evaluate_mapping(mapping_evaluation_parameters):
shrinkage_flag = mapping_evaluation_parameters['shrinkage_flag'] shrinkage_flag = mapping_evaluation_parameters['shrinkage_flag']
hard_shrinkage_flag = mapping_evaluation_parameters['hard_shrinkage_flag'] hard_shrinkage_flag = mapping_evaluation_parameters['hard_shrinkage_flag']
crop_flag = mapping_evaluation_parameters['crop_flag'] crop_flag = mapping_evaluation_parameters['crop_flag']
cross_domain_x2x_flag = mapping_evaluation_parameters['cross_domain_x2x_flag']
cross_domain_y2y_flag = mapping_evaluation_parameters['cross_domain_y2y_flag']
evaluations.evaluate_mapping(trained_model_path, evaluations.evaluate_mapping(trained_model_path,
data_directory, data_directory,
...@@ -368,7 +370,10 @@ def evaluate_mapping(mapping_evaluation_parameters): ...@@ -368,7 +370,10 @@ def evaluate_mapping(mapping_evaluation_parameters):
hard_shrinkage_flag, hard_shrinkage_flag,
crop_flag, crop_flag,
device, device,
exit_on_error) exit_on_error
cross_domain_x2x_flag,
cross_domain_y2y_flag
)
def delete_files(folder): def delete_files(folder):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment