You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: