Skip to content

Commit

Permalink
Relative import for roi_align (#4533)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Oct 4, 2021
1 parent 05d7651 commit e45489b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/ops/poolers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from torch import nn, Tensor

import torchvision
from torchvision.ops import roi_align
from .roi_align import roi_align
from torchvision.ops.boxes import box_area

from typing import Optional, List, Dict, Tuple, Union
Expand Down

0 comments on commit e45489b

Please sign in to comment.