Hello. I have managed to launch the sampleUffSSD both on Float and INT8. But all code is in C++. I am not very good (at all) with C++ so I would like to launch the same sample, but with python. I have seen that there’s a python/custom_layer sample with the custom layers being written in C++ and then ‘transformed’ with SWIG to be called with python. I was trying to just copy and paste the Plugin and PluginFactory from the sampleUffSSD.cpp, but I get a few pages of errors when I try to compile it.
Here’s a link to a pastebin with the error: https://pastebin.com/bxKXiaft
Here’s a link to a pastebin with the plugin code I have copied to the python/custom_layers/tensorrtplugins/src: https://pastebin.com/JpZxWSq6
Can somebody please tell me what am I doing wrong and maybe there’s another way?