Warning Message from TRT

Hi,
I have following issues related to nvinfer plugin.

  1. What is the cause of this warning and how to fix this?

WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.

  1. The model is always rebuilt whenever the pipeline is started, is there a way to build it once and access the built file later?

Thanks

  1. it is related to the model and nvinfer’s configuration. please refer to doc1, doc2. it is a warning log, wich will not cause error.
  2. you can set nvinfer 's property model-engine-file to the path of engine. After the first time, the app will not generate a new engine again instead of loading the engine directly. please refer to doc for explanation.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.