Spaces:
Starting
on
T4
Starting
on
T4
liuyizhang
commited on
Commit
•
ff3c38f
1
Parent(s):
38764b8
update transforms.py
Browse files
GroundingDINO/groundingdino/transforms.py
CHANGED
@@ -10,8 +10,8 @@ import torch
|
|
10 |
import torchvision.transforms as T
|
11 |
import torchvision.transforms.functional as F
|
12 |
|
13 |
-
from util.box_ops import box_xyxy_to_cxcywh
|
14 |
-
from util.misc import interpolate
|
15 |
|
16 |
|
17 |
def crop(image, target, region):
|
|
|
10 |
import torchvision.transforms as T
|
11 |
import torchvision.transforms.functional as F
|
12 |
|
13 |
+
from .util.box_ops import box_xyxy_to_cxcywh
|
14 |
+
from .util.misc import interpolate
|
15 |
|
16 |
|
17 |
def crop(image, target, region):
|