From d95480fda0fde72ac2a1a923596bb01dfec9f31c Mon Sep 17 00:00:00 2001 From: Kazadhum Date: Mon, 24 Jun 2024 16:43:49 +0100 Subject: [PATCH] removed the 'save to csv' functionality since this is done by the single_rgb_evaluation script --- .../scripts/other_calibrations/cv_eye_to_hand.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/atom_evaluation/scripts/other_calibrations/cv_eye_to_hand.py b/atom_evaluation/scripts/other_calibrations/cv_eye_to_hand.py index 6e88069e..106814a6 100755 --- a/atom_evaluation/scripts/other_calibrations/cv_eye_to_hand.py +++ b/atom_evaluation/scripts/other_calibrations/cv_eye_to_hand.py @@ -434,15 +434,6 @@ def main(): args['json_file']) + '/hand_eye_' + args['method_name'] + '_' + args['camera'] + '.json' saveAtomDataset(filename_results_json, dataset) - # save results in csv file - if args['save_file_results']: - if args['save_file_results_name'] is None: - results_name = f'{args["sensor_source"]}_to_{args["sensor_target"]}_results.csv' - saveFileResults(args['train_json_file'], args['test_json_file'], results_name, table_to_save) - else: - with open(args['save_file_results_name'], 'w', newline='') as f_output: - f_output.write(table_to_save.get_csv_string()) - if __name__ == '__main__': main()