I think the judgment condition of "if s not in c_data" is to prevent the image path already contained in box_(k-1) shot_category_train.txt from appearing in box_kshot_category_train.txt
If you operate according to the method in the figure, the result of the judgment will always be true
I think the judgment condition of "if s not in c_data" is to prevent the image path already contained in box_(k-1) shot_category_train.txt from appearing in box_kshot_category_train.txt
If you operate according to the method in the figure, the result of the judgment will always be true