用户
 找回密码
 立即注册
发表于 2021-11-22 21:22:48
9982
按照yolov4的官方文档改了之后仍报错,是不是因为导出模型的问题(导出模型为fp32)[WARNING] 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.[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[WARNING] onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped[INFO] ModelImporter.cpp:135: No importer registered for op: BatchedNMSDynamic_TRT. Attempting to import as plugin.[INFO] builtin_op_importers.cpp:3659: Searching for plugin: BatchedNMSDynamic_TRT, plugin_version: 1, plugin_namespace: [ERROR] INVALID_ARGUMENT: getPluginCreator could not find plugin BatchedNMSDynamic_TRT version 1ERROR: builtin_op_importers.cpp:3661 In function importFallbackPluginImporter:[8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"[ERROR] Failed to parse the model, please check the encoding key to make sure it's correct[INFO] Detected input dimensions from the model: (-1, 3, 384, 1248)[INFO] Model has dynamic shape. Setting up optimization profiles.[INFO] Using optimization profile min shape: (1, 3, 384, 1248) for input: Input[INFO] Using optimization profile opt shape: (8, 3, 384, 1248) for input: Input[INFO] Using optimization profile max shape: (16, 3, 384, 1248) for input: Input[ERROR] Network must have at least one output[ERROR] Network validation failed.[ERROR] Unable to create engine
使用道具 举报 回复
发表于 2021-11-23 09:24:16
有可能是一下原因:
1.你的tao-converter版本不对,在不同环境下要用不同版本,请在下面这个网址确定你的版本是正确的。
https://docs.nvidia.com/tao/tao-toolkit/text/tensorrt.html
2.你的key是否正确?
3.你在运行的平台上是否安装了trt oss,在上面那个网址里面有如何配置tao-converter的教程
使用道具 举报 回复 支持 反对
发表于 2021-11-23 09:24:19
有可能是一下原因:
1.你的tao-converter版本不对,在不同环境下要用不同版本,请在下面这个网址确定你的版本是正确的。
https://docs.nvidia.com/tao/tao-toolkit/text/tensorrt.html
2.你的key是否正确?
3.你在运行的平台上是否安装了trt oss,在上面那个网址里面有如何配置tao-converter的教程
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册