PSENet.pytorch
PSENet.pytorch copied to clipboard
data_utils中的这段代码没错吗?
if random.random() < 0.5: im, text_polys = data_aug.horizontal_flip(im, text_polys) if random.random() < 0.5: im, text_polys = data_aug.random_rotate_img_bbox(im, text_polys, degrees)
小于0.5要进行两次操作?