Closed BaofengZan closed 4 years ago
https://github.com/dlunion/tensorRTIntegrate/blob/7543614a4ff5f6e022526a4e137d47f4e63f5f96/src/infer/trt_infer.cpp#L427-L429 这里再预处理图片时,强制规定type()是dtFloat,那如何进行半精度推理呢? 是在生成trtmodle时来指定fp16么?
https://github.com/dlunion/tensorRTIntegrate/blob/7543614a4ff5f6e022526a4e137d47f4e63f5f96/src/infer/trt_infer.cpp#L427-L429 这里再预处理图片时,强制规定type()是dtFloat,那如何进行半精度推理呢?
是在生成trtmodle时来指定fp16么?