Spaces:
Runtime error
Runtime error
Update mmdet/apis/inference.py
Browse files- mmdet/apis/inference.py +1 -1
mmdet/apis/inference.py
CHANGED
@@ -7,7 +7,7 @@ from typing import Optional, Sequence, Union
|
|
7 |
import numpy as np
|
8 |
import torch
|
9 |
import torch.nn as nn
|
10 |
-
from mmcv.ops import RoIPool
|
11 |
from mmcv.transforms import Compose
|
12 |
from mmengine.config import Config
|
13 |
from mmengine.model.utils import revert_sync_batchnorm
|
|
|
7 |
import numpy as np
|
8 |
import torch
|
9 |
import torch.nn as nn
|
10 |
+
# from mmcv.ops import RoIPool
|
11 |
from mmcv.transforms import Compose
|
12 |
from mmengine.config import Config
|
13 |
from mmengine.model.utils import revert_sync_batchnorm
|