anthonyAndchen
anthonyAndchen
这个为什么最后一个用例通不过呢
你好,请问一下为什么运行起来界面上的一些字符会乱码呢?
非常感谢,是我文件编码格式有问题,换成UTF8就好了,谢谢
可以调整数据传递给 NumPy 数组的所有子列表,使其长度相同,以确保一致性。在ppocr/postprocess/db_postprocess.py的156行调整一下代码: ``` data_array = offset.Execute(distance) max_length = max(len(sublist) for sublist in data_array) for sublist in data_array: while len(sublist) < max_length: sublist.append(sublist[-1]) expanded = np.array(data_array) ``` 测试后不再出现上述问题。