Closed shkk941111 closed 4 months ago
Hi,
Could you please post the ground truth file you are using? I generally used the file as shown here where they have a "structXML" entry but the code cannot find this structure which means that (1) either you use a wrong file or (2) they have updated the ground truth file without using this structure.
Best regards, tilemmpon
Closed as incomplete since no further feedback has been received.
File "d:/Singapore-Maritime-Dataset-Frames-Ground-Truth-Generation-and-Statistics-master/load_mat_into_csvxml.py", line 601, in
, object_list_train_temp, object_list_test_temp = generate_split_dataset_csv_xml(os.path.join(args.inputDir, mat_file), frames_tuple, paths_list, integer_bb=False)
File "d:/Singapore-Maritime-Dataset-Frames-Ground-Truth-Generation-and-Statistics-master/load_mat_into_csv_xml.py", line 519, in generate_split_dataset_csv_xml
frames_number = len(gt['structXML'][0])
KeyError: 'structXML'
What is the cause of this problem? How do I fix it?