Open nguyendacthienngan opened 4 months ago
Although labeling in preprocessing step has "sequence" level It doesn't support because there is only case:
if level == "function": cpg_graphs: List[Dict[str, Union[str, List[str], List[int]]]] = \ json.load(open(json_data_file, 'r', encoding='utf-8')) vul_samples, normal_samples = process_func_datas(label_info, cpg_graphs) dump_to_output_dir(vul_samples, normal_samples, output_dir)
I've updated the label_graphs.py in HERE. Hope this help
Although labeling in preprocessing step has "sequence" level It doesn't support because there is only case: