Spaces:
Running
on
T4
Running
on
T4
Added absolute import to top
Browse files
models/GroundingDINO/ms_deform_attn.py
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
# https://github.com/fundamentalvision/Deformable-DETR/blob/main/models/ops/modules/ms_deform_attn.py
|
14 |
# https://github.com/open-mmlab/mmcv/blob/master/mmcv/ops/multi_scale_deform_attn.py
|
15 |
# ------------------------------------------------------------------------------------------------
|
16 |
-
|
17 |
import math
|
18 |
import warnings
|
19 |
from typing import Optional
|
|
|
13 |
# https://github.com/fundamentalvision/Deformable-DETR/blob/main/models/ops/modules/ms_deform_attn.py
|
14 |
# https://github.com/open-mmlab/mmcv/blob/master/mmcv/ops/multi_scale_deform_attn.py
|
15 |
# ------------------------------------------------------------------------------------------------
|
16 |
+
from __future__ import absolute_import
|
17 |
import math
|
18 |
import warnings
|
19 |
from typing import Optional
|