Qiuzhongyuan / pointpillars_pytorch_trt

Apache License 2.0
77 stars 24 forks source link

VoxelGeneratorV2 #9

Open zyxcambridge opened 3 years ago

zyxcambridge commented 3 years ago

t@daf9cc3e7a2d:/share/trt/tiny-tensorrt7.2/build# ./unit_test --onnx_path ../model/pointpillars_large_model.onnx --data_path /media/sl/e933ce17-ab7c-4841-a336-59ca4297b23e/dataset/OpenPCDet_kitti_dataset/training/velodyne_reduced --calibrate_path ../testbin cali_files name:../testbin/000005.bin

fileName:../testbin/000005.bin bin file length: 319392 num: 19962 cali_files name:../testbin/000001.bin

fileName:../testbin/000001.bin bin file length: 298080 num: 18630 [2021-07-24 16:23:00.910] [info] build onnx engine from ../model/pointpillars_large_model.onnx...

Input filename: ../model/pointpillars_large_model.onnx ONNX IR version: 0.0.6 Opset version: 10 Producer name: pytorch Producer version: 1.7 Domain:
Model version: 0 Doc string:

--- after parse model1 Constant 1 151 --- after parse model2 (1) INVALID_ARGUMENT: getPluginCreator could not find plugin VoxelGeneratorV1 version 001 While parsing node number 1 [VoxelGeneratorV1]: ERROR: /share/trt/TensorRT7.2/parsers/onnx/builtin_op_importers.cpp:4208 In function importVoxelGeneratorV1: [8] Assertion failed: plugin != nullptr && "VoxelGeneratorV2 plugin was not found in the plugin registry!" [2021-07-24 16:23:12.111] [error] error: could not parse onnx engine [2021-07-24 16:23:12.111] [error] error: could not deserialize or build engine Segmentation fault (core dumped)

zyxcambridge commented 3 years ago

58 cp -r /share/trt/TensorRT7.2/build/.so /usr/lib/x86_64-linux-gnu/ 59 cp -r /share/trt/TensorRT7.2/build/.so ./ 60 history root@daf9cc3e7a2d:/share/trt/tiny-tensorrt7.2/build#

FreemanGong commented 3 years ago

I met the same problem as yours, have you solved the problem?

jianxiezhendong commented 3 years ago

try : echo "export LD_LIBRARY_PATH=/share/trt/TensorRT7.2/build/:$LD_LIBRARY_PATH" >> ~/.bashrc source ~/.bashrc It does not need to be copied.