-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Sorry to bother you! In the file bounding_box.py, crop and rotate will change the chars' locations, but these operations keep the origin char_masks:
if not isinstance(v, torch.Tensor) and k != "char_masks":
v = v.rotate(angle, r_c, start_h, start_w)
if not isinstance(v, torch.Tensor) and k != "char_masks":
v = v.crop(box,keep_ind)
Are there codes handle this problem?
Metadata
Metadata
Assignees
Labels
No labels