X-AnyLabeling custom2dota报错:for shape in data["shapes"]: TypeError: string indices must be integers
修改为:
class RotateLabelConverter(BaseLabelConverter):
def custom_to_dota(self, input_file, output_file):
with open(input_file, "r", encoding="utf-8") as f:
data = json.load(f)