second.pytorch
second.pytorch copied to clipboard
PointPillars ----python create_data.py create_kitti_info_file fail
When I run I create_data.py create_kitti_info_file, I met such errors. Can anybody help me how to fix this problem? Thanks advance! My cuda =10.1,pytorch=1.7
(pointpillars) a3168@3168:~/SUN/second.pytorch-master/second$ python create_data.py create_kitti_info_file --data_path=./data/sets/kitti_second/ Generate info. this may take several minutes. /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: Invalid use of type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) with parameters (array(float64, 4d, A))
During: resolving callee type: type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) During: typing of call at /home/a3168/SUN/second.pytorch-master/second/core/geometry.py (118)
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:177: NumbaWarning: Function "points_in_convex_polygon_3d_jit" was compiled in object mode without forceobj=True, but has lifted loops.
File "core/geometry.py", line 113:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaWarning(warn_msg, /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:187: NumbaDeprecationWarning: Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File "core/geometry.py", line 113:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaDeprecationWarning(msg, /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: Invalid use of type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) with parameters (array(float64, 4d, A))
During: resolving callee type: type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) During: typing of call at /home/a3168/SUN/second.pytorch-master/second/core/geometry.py (118)
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:177: NumbaWarning: Function "points_in_convex_polygon_3d_jit" was compiled in object mode without forceobj=True.
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaWarning(warn_msg, /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:187: NumbaDeprecationWarning: Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaDeprecationWarning(msg,
/home/a3168/SUN/second.pytorch-master/second/core/box_np_ops.py:699: NumbaWarning:
Compilation is falling back to object mode WITH looplifting enabled because Function "corner_to_surfaces_3d" failed type inference due to: No implementation of function Function(
array(list(list(array(float64, 2d, A))))
There are 2 candidate implementations:
- Of which 2 did not match due to: Overload in function 'array': File: numba/core/typing/npydecl.py: Line 504. With argument(s): '(list(list(array(float64, 2d, A))))': Rejected as the implementation raised a specific error: TypingError: array(float64, 2d, A) not allowed in a homogeneous sequence raised from /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/typing/npydecl.py:471
During: resolving callee type: Function(
File "core/box_np_ops.py", line 710:
def corner_to_surfaces_3d(corners):
@numba.jit(nopython=False) /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:177: NumbaWarning: Function "corner_to_surfaces_3d" was compiled in object mode without forceobj=True.
File "core/box_np_ops.py", line 700: @numba.jit(nopython=False) def corner_to_surfaces_3d(corners): ^
warnings.warn(errors.NumbaWarning(warn_msg, /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:187: NumbaDeprecationWarning: Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File "core/box_np_ops.py", line 700: @numba.jit(nopython=False) def corner_to_surfaces_3d(corners): ^
warnings.warn(errors.NumbaDeprecationWarning(msg, /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: Invalid use of type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) with parameters (array(float64, 4d, A))
During: resolving callee type: type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) During: typing of call at /home/a3168/SUN/second.pytorch-master/second/core/geometry.py (118)
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:177: NumbaWarning: Function "points_in_convex_polygon_3d_jit" was compiled in object mode without forceobj=True, but has lifted loops.
File "core/geometry.py", line 113:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaWarning(warn_msg, /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:187: NumbaDeprecationWarning: Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File "core/geometry.py", line 113:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaDeprecationWarning(msg, /home/a3168/SUN/second.pytorch-master/second/core/geometry.py:97: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_3d_jit" failed type inference due to: Invalid use of type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) with parameters (array(float64, 4d, A))
During: resolving callee type: type(CPUDispatcher(<function surface_equ_3d_jit at 0x7fd337f4fb80>)) During: typing of call at /home/a3168/SUN/second.pytorch-master/second/core/geometry.py (118)
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
@numba.jit(nopython=False) /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:177: NumbaWarning: Function "points_in_convex_polygon_3d_jit" was compiled in object mode without forceobj=True.
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaWarning(warn_msg, /home/a3168/anaconda3/envs/pointpillars/lib/python3.8/site-packages/numba/core/object_mode_passes.py:187: NumbaDeprecationWarning: Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
File "core/geometry.py", line 118:
def points_in_convex_polygon_3d_jit(points,
warnings.warn(errors.NumbaDeprecationWarning(msg,
I met the same problem!
@eshoyuan @stephen20190822 have you guys solved the problem ? Would you mind to share some experience ?
I met also the same problem.