EAST icon indicating copy to clipboard operation
EAST copied to clipboard

关于crop_img的is_cross_text函数

Open csliuchang opened this issue 4 years ago • 2 comments

我用的MSRA数据集 format{x1,y1,x2,y2,x3,y3,x4,y4,classname},但当我导入数据训练您的代码时,报错如下,indexerror:too many indices for array:array is 1-dimensional,but 2 were indexed, 报错代码在判断裁剪框 flag = is_cross_text([start_w,start_h],length,new_vertices[labels==1,:])

csliuchang avatar Dec 18 '20 12:12 csliuchang

把这行代码注释掉就能跑了

GUWjj avatar Dec 29 '20 08:12 GUWjj

我用的MSRA数据集 format{x1,y1,x2,y2,x3,y3,x4,y4,classname},但当我导入数据训练您的代码时,报错如下,indexerror:too many indices for array:array is 1-dimensional,but 2 were indexed, 报错代码在判断裁剪框 flag = is_cross_text([start_w,start_h],length,new_vertices[labels==1,:])

你好,MSRA-TD500训练结果好吗,我按照默认设置,测试集Hmean只有0.3左右

chenRV avatar Sep 11 '21 09:09 chenRV