Spaces:
Sleeping
Sleeping
sunnychenxiwang
commited on
Commit
•
cccb4d0
1
Parent(s):
d827863
Update pipeline/GroundingDINO/groundingdino/datasets/transforms.py
Browse files
pipeline/GroundingDINO/groundingdino/datasets/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 groundingdino.util.box_ops import box_xyxy_to_cxcywh
|
14 |
-
from groundingdino.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 pipeline.GroundingDINO.groundingdino.util.box_ops import box_xyxy_to_cxcywh
|
14 |
+
from pipeline.GroundingDINO.groundingdino.util.misc import interpolate
|
15 |
|
16 |
|
17 |
def crop(image, target, region):
|