What is the g_meanFile param of addInferenceTask_uff model?

I see that the addInferenceTask_uff method includes a “g_meanFile” param:

// Add inference task
IModule *pInferModule = pDeviceWorker->addInferenceTask_uff(
std::make_pair(pConvertor, 0),
g_uffFile,
<b>g_meanFile</b>,
g_nC, g_nH, g_nW, /* dimensions of input tensor */
inputLayerName,
outputLayerNames,
g_nChannels);

Can it be set to be a nullptr while I can’t see any mean file of a UFF model?

Hi,

We are checking this issue with our internal team.
Will update information to you later.

Thanks.

Hi,

The g_meanFile of addInferenceTask_uff is a don’t care parameter and you can just pass the null pointer into it.
This parameter is reserved for future mean file support for TensorRT.

Thanks.