We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c259f commit a68aaa6Copy full SHA for a68aaa6
pcdet/models/dense_heads/voxelnext_head.py
@@ -5,7 +5,7 @@
5
from ..model_utils import centernet_utils
6
from ..model_utils import model_nms_utils
7
from ...utils import loss_utils
8
-import spconv.pytorch as spconv
+from ...utils.spconv_utils import replace_feature, spconv
9
import copy
10
from easydict import EasyDict
11
pcdet/utils/spconv_utils.py
@@ -1,5 +1,9 @@
1
from typing import Set
2
3
+import spconv
4
+if float(spconv.__version__[2:]) >= 2.2:
+ spconv.constants.SPCONV_USE_DIRECT_TABLE = False
+
try:
import spconv.pytorch as spconv
except:
0 commit comments