Skip to content

Commit

Permalink
removed the 'save to csv' functionality since this is done by the sin…
Browse files Browse the repository at this point in the history
…gle_rgb_evaluation script
  • Loading branch information
Kazadhum committed Jun 24, 2024
1 parent f25c302 commit d95480f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions atom_evaluation/scripts/other_calibrations/cv_eye_to_hand.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit d95480f

Please sign in to comment.