onnx->trt报的warning如下:
If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[10/12/2022-19:11:09] [TRT] [W] Weights [name=Conv_167 || Conv_170.weight] had the following issues when converted to FP16:
[10/12/2022-19:11:09] [TRT] [W] - Subnormal FP16 values detected.
[10/12/2022-19:11:09] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[10/12/2022-19:11:09] [TRT] [W] Weights [name=Conv_167 || Conv_170.weight] had the following issues when converted to FP16:
[10/12/2022-19:11:09] [TRT] [W] - Subnormal FP16 values detected.
[10/12/2022-19:11:09] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[10/12/2022-19:11:09] [TRT] [W] Weights [name=Conv_173 + PWN(PWN(Sigmoid_174), Mul_175).weight] had the following issues when converted to FP16:
[10/12/2022-19:11:09] [TRT] [W] - Subnormal FP16 values detected.
[10/12/2022-19:11:09] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[10/12/2022-19:11:09] [TRT] [W] Weights [name=Conv_173 + PWN(PWN(Sigmoid_174), Mul_175).weight] had the following issues when converted to FP16:
[10/12/2022-19:11:09] [TRT] [W] - Subnormal FP16 values detected.
[10/12/2022-19:11:09] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[10/12/2022-19:11:09] [TRT] [W] Weights [name=Conv_173 + PWN(PWN(Sigmoid_174), Mul_175).weight] had the following issues when converted to FP16:
[10/12/2022-19:11:09] [TRT] [W] - Subnormal FP16 values detected.
Subnrmal FP16 values detected - TensorRT - NVIDIA Developer Forums
英伟达官方答复:如果不影响精度可以忽略
Subnormal FP16 values detected - TensorRT - NVIDIA Developer Forums