V2AI / Det3D

World's first general purpose 3D object detection codebse.
https://arxiv.org/abs/1908.09492
Apache License 2.0
1.48k stars 299 forks source link

Numba Warnings #113

Closed MeyLavie closed 2 years ago

MeyLavie commented 4 years ago

Hi, when I run the training I get those numba warnings. Do you know how to fix it? is it damage the results? I'm using numba version 0.49.1.

Thank you so much

`/home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/PycharmProjects/new14/multi_leg/det3d/core/sampler/preprocess.py:464: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) points[i : i + 1, :3] = points[i : i + 1, :3] @ rot_mat_T[j] /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/typing/npydecl.py:943: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, C)) warnings.warn(NumbaPerformanceWarning(msg)) /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit 2020-06-11 11:29:45,988 - INFO - finding looplift candidates /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit 2020-06-11 11:29:46,045 - INFO - finding looplift candidates /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit 2020-06-11 11:29:46,087 - INFO - finding looplift candidates /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit 2020-06-11 11:29:46,137 - INFO - finding looplift candidates /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit 2020-06-11 11:29:46,222 - INFO - finding looplift candidates /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), Tuple(slice, list(int64), slice))

File "det3d/core/bbox/geometry.py", line 298: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

            :,
            [num_points_of_polygon - 1] + list(range(num_points_of_polygon - 1)),
            ^

@numba.jit /home/access/PycharmProjects/new14/multi_leg/det3d/core/bbox/geometry.py:279: NumbaWarning: Compilation is falling back to object mode WITHOUT looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "det3d/core/bbox/geometry.py", line 315: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

cross = 0.0
for i in range(num_points):
^

@numba.jit /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:178: NumbaWarning: Function "points_in_convex_polygon_jit" was compiled in object mode without forceobj=True, but has lifted loops.

File "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

state.func_ir.loc)) /home/access/anaconda3/envs/det_14/lib/python3.6/site-packages/numba/core/object_mode_passes.py:188: 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 "det3d/core/bbox/geometry.py", line 290: def points_in_convex_polygon_jit(points, polygon, clockwise=True):

# first convert polygon to directed lines
num_points_of_polygon = polygon.shape[1]
^

`

an2tong1xm commented 4 years ago

I have the same problem