tensorrt-ssd-easy icon indicating copy to clipboard operation
tensorrt-ssd-easy copied to clipboard

error

Open lucheng07082221 opened this issue 6 years ago • 5 comments

I run this code,the got an error /tensorNet.cpp:39: void TensorNet::caffeToTRTModel(const string&, const string&, const std::vector<std::__cxx11::basic_string >&, unsigned int): Assertion `blobNameToTensor != nullptr' failed.

lucheng07082221 avatar Aug 02 '18 10:08 lucheng07082221

Check each layer's name carefully and ensure that it may be same to your layer‘s name defined in your pluginImplement.cpp

JingliangGao avatar Aug 02 '18 10:08 JingliangGao

@JingliangGao Can you give me the prototxt file

lucheng07082221 avatar Aug 02 '18 10:08 lucheng07082221

@JingliangGao thank you very much!

lucheng07082221 avatar Aug 02 '18 10:08 lucheng07082221

@JingliangGao I got the same error like @lucheng07082221 Can you share the prototxt file to me ?

xmglin avatar Aug 13 '18 06:08 xmglin

resolved. @Tegoe 's fork is compatible with tensorrt 3.0.4. And tensorrt 4 still reports runtime error sadly.

xmglin avatar Aug 13 '18 15:08 xmglin