用户自定义算法,需要在.py格式文件内写好自定义算法脚本,按以下要求准备:
def compare(my_output_dump_data, ground_true_dump_data, args): #算法固定头格式 #以下为算法示例 """ Function Description: compare the my output dump data and the ground true dump data by algorithm Parameter: my_output_dump_data: the my output dump data ground_true_dump_data: the my output dump data args: the algorithm arguments Return Value: the compare algorithm value, string;error_msg,string """