-
duohaoxue
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/onnx2trt_utils.cpp:220: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:2692: TensorRT currently uses half_pixel calculation for the pytorch_half_pixel transformation mode. These are equivalent except for interpolations down to 1D.
[06/18/2021-11:05:42] [W] [TRT] Tensor DataType is determined at build time for tensors not marked as input or output.
While parsing node number 1151 [If]:
ERROR: /media/data/zjs/opt/cuda11.1/onnx-tensorrt/builtin_op_importers.cpp:1601 In function importIf:
[8] Assertion failed: cond.is_weights() && cond.weights().count() == 1 && "If condition must be a initializer!"
[06/18/2021-11:05:42] [E] Parsing File Failed
[06/18/2021-11:05:42] [E] Init Session Failed (attempt from onnx file)!
[06/18/2021-11:05:42] [I] constructing network from onnx file.
serialize engine to: solov2.trt
段错误 (核心已转储)