Run the following command:
python3 export_onnx.py
--config ../CenterPoint-master/configs/waymo/pp/waymo_centerpoint_pp_two_pfn_stride1_3x.py
--ckpt ../models/epoch_21.pth
--pfe_save_path pfe.onnx
--rpn_save_path rpn.onnx
The terminal outputs the following:
/app/tools/det3d/core/bbox/geometry.py:157: NumbaDeprecationWarning: The keyword argument 'nopython=False' was supplied. From Numba 0.59.0 the default is being changed to True and use of 'nopython=False' will raise a warning as the argument will have no effect. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit(nopython=False) /app/tools/det3d/core/bbox/geometry.py:170: NumbaDeprecationWarning: The keyword argument 'nopython=False' was supplied. From Numba 0.59.0 the default is being changed to True and use of 'nopython=False' will raise a warning as the argument will have no effect. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit(nopython=False) /app/tools/det3d/core/bbox/geometry.py:288: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def points_in_convex_polygon_jit(points, polygon, clockwise=True): no apex No Tensorflow Deformable Convolution not built! Use HM Bias: -2.19 ==========================Freezing RPN and above layers, only BP center heads ! ! !============================ Using 1 sweeps Using 396 Frames pfe_inputs---->torch.Size([17444, 32, 5]) example[voxels]----> torch.Size([17444, 32, 5]) example["num_points"]---> 17444 example["coordinates"]----> 17444 input.shape---> torch.Size([17444, 32, 10]) weight.shape---> torch.Size([32, 10]) input.shape---> torch.Size([17444, 32, 64]) weight.shape---> torch.Size([64, 64])
export_onnx.sh: line 5: 330896 Segmentation fault (core dumped) python3 export_onnx.py --config ../CenterPoint-master/configs/waymo/pp/waymo_centerpoint_pp_two_pfn_stride1_3x.py --ckpt ../models/epoch_21.pth --pfe_save_path pfe.onnx --rpn_save_path rpn.onnx
How can I solve this problem?
Run the following command:
python3 export_onnx.py
--config ../CenterPoint-master/configs/waymo/pp/waymo_centerpoint_pp_two_pfn_stride1_3x.py
--ckpt ../models/epoch_21.pth
--pfe_save_path pfe.onnx
--rpn_save_path rpn.onnx
The terminal outputs the following:
/app/tools/det3d/core/bbox/geometry.py:157: NumbaDeprecationWarning: The keyword argument 'nopython=False' was supplied. From Numba 0.59.0 the default is being changed to True and use of 'nopython=False' will raise a warning as the argument will have no effect. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit(nopython=False) /app/tools/det3d/core/bbox/geometry.py:170: NumbaDeprecationWarning: The keyword argument 'nopython=False' was supplied. From Numba 0.59.0 the default is being changed to True and use of 'nopython=False' will raise a warning as the argument will have no effect. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. @numba.jit(nopython=False) /app/tools/det3d/core/bbox/geometry.py:288: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def points_in_convex_polygon_jit(points, polygon, clockwise=True): no apex No Tensorflow Deformable Convolution not built! Use HM Bias: -2.19 ==========================Freezing RPN and above layers, only BP center heads ! ! !============================ Using 1 sweeps Using 396 Frames pfe_inputs---->torch.Size([17444, 32, 5]) example[voxels]----> torch.Size([17444, 32, 5]) example["num_points"]---> 17444 example["coordinates"]----> 17444 input.shape---> torch.Size([17444, 32, 10]) weight.shape---> torch.Size([32, 10]) input.shape---> torch.Size([17444, 32, 64]) weight.shape---> torch.Size([64, 64])
export_onnx.sh: line 5: 330896 Segmentation fault (core dumped) python3 export_onnx.py --config ../CenterPoint-master/configs/waymo/pp/waymo_centerpoint_pp_two_pfn_stride1_3x.py --ckpt ../models/epoch_21.pth --pfe_save_path pfe.onnx --rpn_save_path rpn.onnx
How can I solve this problem?