I use cmake -DTENSORRT_DIR=/home/sycv/workplace/pengyuzhou/TensorRT-7.0.0.11 .. generate makefiles.
then I use make -j10, it occurred a number of errors as following:
void ModulatedDeformableConvPluginDynamic::setGroup(int group) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::setGroup(int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:135:3: error: ‘mGroup’ was not declared in this scope
mGroup = group;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:135:3: note: suggested alternative: ‘group’
mGroup = group;
^~~~~~
group
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:138:5: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
int ModulatedDeformableConvPluginDynamic::getGroup() { return mGroup; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘int nvinfer1::getGroup()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:138:63: error: ‘mGroup’ was not declared in this scope
int ModulatedDeformableConvPluginDynamic::getGroup() { return mGroup; }
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:138:63: note: suggested alternative: ‘strdup’
int ModulatedDeformableConvPluginDynamic::getGroup() { return mGroup; }
^~~~~~
strdup
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:140:11: error: ‘IPluginV2DynamicExt’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::IPluginV2DynamicExt *ModulatedDeformableConvPluginDynamic::clone()
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:162:11: error: ‘DimsExprs’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::DimsExprs ModulatedDeformableConvPluginDynamic::getOutputDimensions(
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:182:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
bool ModulatedDeformableConvPluginDynamic::supportsFormatCombination(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘bool nvinfer1::supportsFormatCombination(int, const nvinfer1::PluginTensorDesc*, int, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:184:9: warning: unused parameter ‘nbOutputs’ [-Wunused-parameter]
int nbOutputs) {
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:204:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
void ModulatedDeformableConvPluginDynamic::configurePlugin(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:205:21: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::DynamicPluginTensorDesc *inputs, int nbInputs,
^~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:206:21: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::DynamicPluginTensorDesc *outputs, int nbOutputs) {
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/serialize.hpp:18,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:11:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::configurePlugin(const int*, int, const int*, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:210:10: error: ‘mType’ was not declared in this scope
assert(mType == inputs[0].desc.type);
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:210:29: error: request for member ‘desc’ in ‘* inputs’, which is of non-class type ‘const int’
assert(mType == inputs[0].desc.type);
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:206:46: warning: unused parameter ‘outputs’ [-Wunused-parameter]
const nvinfer1::DynamicPluginTensorDesc *outputs, int nbOutputs) {
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:214:8: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
size_t ModulatedDeformableConvPluginDynamic::getWorkspaceSize(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:216:63: error: non-member function ‘size_t nvinfer1::getWorkspaceSize(const nvinfer1::PluginTensorDesc*, int, const nvinfer1::PluginTensorDesc*, int)’ cannot have cv-qualifier
const nvinfer1::PluginTensorDesc *outputs, int nbOutputs) const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘size_t nvinfer1::getWorkspaceSize(const nvinfer1::PluginTensorDesc*, int, const nvinfer1::PluginTensorDesc*, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:218:52: error: ‘mType’ was not declared in this scope
int sizeof_dtype = samplesCommon::getElementSize(mType);
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:229:12: error: ‘mKernelSize’ was not declared in this scope
int kW = mKernelSize.d[0];
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:222:7: warning: unused variable ‘inputHeight’ [-Wunused-variable]
int inputHeight = inputs[0].dims.d[2];
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:223:7: warning: unused variable ‘inputWidth’ [-Wunused-variable]
int inputWidth = inputs[0].dims.d[3];
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:225:7: warning: unused variable ‘nOutputPlane’ [-Wunused-variable]
int nOutputPlane = outputs[0].dims.d[1];
^~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:231:7: warning: unused variable ‘im2col_step’ [-Wunused-variable]
int im2col_step = std::min(int(batch_size), 64);
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:215:51: warning: unused parameter ‘nbInputs’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc *inputs, int nbInputs,
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:216:52: warning: unused parameter ‘nbOutputs’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc *outputs, int nbOutputs) const {
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:239:5: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
int ModulatedDeformableConvPluginDynamic::enqueue(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘int nvinfer1::enqueue(const nvinfer1::PluginTensorDesc*, const nvinfer1::PluginTensorDesc*, const void* const*, void* const*, void*, cudaStream_t)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:244:7: error: ‘m_cuda_stream’ was not declared in this scope
if (m_cuda_stream != stream) {
^~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:244:7: note: suggested alternative: ‘cudaStream_t’
if (m_cuda_stream != stream) {
^~~~~~~~~~~~~
cudaStream_t
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:245:21: error: ‘m_cublas_handle’ was not declared in this scope
cublasSetStream(m_cublas_handle, stream);
^~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:245:21: note: suggested alternative: ‘cublasHandle_t’
cublasSetStream(m_cublas_handle, stream);
^~~~~~~~~~~~~~~
cublasHandle_t
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:257:30: error: ‘m_cublas_handle’ was not declared in this scope
dcn_params.cublas_handle = m_cublas_handle;
^~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:257:30: note: suggested alternative: ‘cublasHandle_t’
dcn_params.cublas_handle = m_cublas_handle;
^~~~~~~~~~~~~~~
cublasHandle_t
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:262:30: error: ‘mOutDim’ was not declared in this scope
dcn_params.outputChannel = mOutDim;
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:263:24: error: ‘mKernelSize’ was not declared in this scope
dcn_params.kernelW = mKernelSize.d[0];
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:265:24: error: ‘mStride’ was not declared in this scope
dcn_params.strideW = mStride.d[0];
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:265:24: note: suggested alternative: ‘mktime’
dcn_params.strideW = mStride.d[0];
^~~~~~~
mktime
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:267:21: error: ‘mPadding’ was not declared in this scope
dcn_params.padW = mPadding.d[0];
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:269:26: error: ‘mDilation’ was not declared in this scope
dcn_params.dilationW = mDilation.d[0];
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:271:22: error: ‘mGroup’ was not declared in this scope
dcn_params.group = mGroup;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:271:22: note: suggested alternative: ‘strdup’
dcn_params.group = mGroup;
^~~~~~
strdup
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:272:33: error: ‘mDeformableGroup’ was not declared in this scope
dcn_params.deformable_group = mDeformableGroup;
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:276:36: error: ‘mWdev’ was not declared in this scope
(float *)inputs[0], (float *)mWdev, (float *)mBdev, (float *)inputs[1],
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:276:52: error: ‘mBdev’ was not declared in this scope
(float *)inputs[0], (float *)mWdev, (float *)mBdev, (float *)inputs[1],
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:248:20: warning: unused variable ‘im2col_step’ [-Wunused-variable]
const static int im2col_step = 64;
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:241:39: warning: unused parameter ‘outputDesc’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc *outputDesc, const void *const *inputs,
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:283:20: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
nvinfer1::DataType ModulatedDeformableConvPluginDynamic::getOutputDataType(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:284:68: error: non-member function ‘nvinfer1::DataType nvinfer1::getOutputDataType(int, const nvinfer1::DataType*, int)’ cannot have cv-qualifier
int index, const nvinfer1::DataType *inputTypes, int nbInputs) const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘nvinfer1::DataType nvinfer1::getOutputDataType(int, const nvinfer1::DataType*, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:284:9: warning: unused parameter ‘index’ [-Wunused-parameter]
int index, const nvinfer1::DataType *inputTypes, int nbInputs) const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:290:13: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
const char *ModulatedDeformableConvPluginDynamic::getPluginType() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:290:67: error: non-member function ‘const char* nvinfer1::getPluginType()’ cannot have cv-qualifier
const char *ModulatedDeformableConvPluginDynamic::getPluginType() const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginType()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:291:10: error: ‘DCN_NAME’ was not declared in this scope
return DCN_NAME;
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:291:10: note: suggested alternatives:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:18:20: note: ‘amirstan::plugin::{anonymous}::DCN_NAME’
static const char *DCN_NAME{"ModulatedDeformableConvPluginDynamic"};
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:18:20: note: ‘amirstan::plugin::{anonymous}::DCN_NAME’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:294:13: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
const char *ModulatedDeformableConvPluginDynamic::getPluginVersion() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:294:70: error: non-member function ‘const char* nvinfer1::getPluginVersion()’ cannot have cv-qualifier
const char *ModulatedDeformableConvPluginDynamic::getPluginVersion() const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginVersion()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:295:10: error: ‘DCN_VERSION’ was not declared in this scope
return DCN_VERSION;
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:295:10: note: suggested alternatives:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:17:20: note: ‘amirstan::plugin::{anonymous}::DCN_VERSION’
static const char *DCN_VERSION{"1"};
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:17:20: note: ‘amirstan::plugin::{anonymous}::DCN_VERSION’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:298:5: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
int ModulatedDeformableConvPluginDynamic::getNbOutputs() const { return 1; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:298:58: error: non-member function ‘int nvinfer1::getNbOutputs()’ cannot have cv-qualifier
int ModulatedDeformableConvPluginDynamic::getNbOutputs() const { return 1; }
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:300:5: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
int ModulatedDeformableConvPluginDynamic::initialize() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘int nvinfer1::initialize()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:301:17: error: ‘m_cublas_handle’ was not declared in this scope
cublasCreate(&m_cublas_handle);
^~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:301:17: note: suggested alternative: ‘cublasHandle_t’
cublasCreate(&m_cublas_handle);
^~~~~~~~~~~~~~~
cublasHandle_t
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:302:7: error: ‘mW’ was not declared in this scope
if (mW.values && mWdev == nullptr) {
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:302:20: error: ‘mWdev’ was not declared in this scope
if (mW.values && mWdev == nullptr) {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:304:53: error: ‘mType’ was not declared in this scope
size_t wordSize = samplesCommon::getElementSize(mType);
^~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:12: error: ‘cerr’ is not a member of ‘std’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:306:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mWdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:12: note: suggested alternative: ‘errc’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:306:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mWdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:52: error: ‘endl’ is not a member of ‘std’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:306:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mWdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:52: note: suggested alternative: ‘end’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:306:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mWdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:309:7: error: ‘convertAndCopyToDevice’ was not declared in this scope
convertAndCopyToDevice(mW, reinterpret_cast<float *>(mWdev));
^~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:309:7: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:22:13: note: ‘nvinfer1::convertAndCopyToDevice’
inline void convertAndCopyToDevice(const nvinfer1::Weights &src,
^~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:315:7: error: ‘mB’ was not declared in this scope
if (mB.values && mBdev == nullptr) {
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:315:20: error: ‘mBdev’ was not declared in this scope
if (mB.values && mBdev == nullptr) {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:317:53: error: ‘mType’ was not declared in this scope
size_t wordSize = samplesCommon::getElementSize(mType);
^~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:12: error: ‘cerr’ is not a member of ‘std’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:319:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mBdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:12: note: suggested alternative: ‘errc’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:319:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mBdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:52: error: ‘endl’ is not a member of ‘std’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:319:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mBdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:73:52: note: suggested alternative: ‘end’
std::cerr << "Cuda failure: " << ret << std::endl; \
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:319:5: note: in expansion of macro ‘CHECK’
CHECK(cudaMalloc((void **)&mBdev, nbBytes));
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:322:7: error: ‘convertAndCopyToDevice’ was not declared in this scope
convertAndCopyToDevice(mB, reinterpret_cast<float *>(mBdev));
^~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:322:7: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:22:13: note: ‘nvinfer1::convertAndCopyToDevice’
inline void convertAndCopyToDevice(const nvinfer1::Weights &src,
^~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:331:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
void ModulatedDeformableConvPluginDynamic::terminate() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::terminate()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:332:15: error: no match for ‘operator<<’ (operand types are ‘LogStreamConsumer’ and ‘const char [27]’)
gLogVerbose << "DCN Plugin terminate start" << std::endl;
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: candidate: std::ostream& nvinfer1::operator<<(std::ostream&, const nvinfer1::Dims&)
inline std::ostream& operator<<(std::ostream& os, const nvinfer1::Dims& dims) {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: no known conversion for argument 1 from ‘LogStreamConsumer’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:332:55: error: ‘endl’ is not a member of ‘std’
gLogVerbose << "DCN Plugin terminate start" << std::endl;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:332:55: note: suggested alternative: ‘end’
gLogVerbose << "DCN Plugin terminate start" << std::endl;
^~~~
end
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:334:7: error: ‘mWdev’ was not declared in this scope
if (mWdev != nullptr) {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:338:7: error: ‘mBdev’ was not declared in this scope
if (mBdev != nullptr) {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:342:17: error: ‘m_cublas_handle’ was not declared in this scope
cublasDestroy(m_cublas_handle);
^~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:342:17: note: suggested alternative: ‘cublasHandle_t’
cublasDestroy(m_cublas_handle);
^~~~~~~~~~~~~~~
cublasHandle_t
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:344:15: error: no match for ‘operator<<’ (operand types are ‘LogStreamConsumer’ and ‘const char [26]’)
gLogVerbose << "DCN Plugin terminate done" << std::endl;
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: candidate: std::ostream& nvinfer1::operator<<(std::ostream&, const nvinfer1::Dims&)
inline std::ostream& operator<<(std::ostream& os, const nvinfer1::Dims& dims) {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: no known conversion for argument 1 from ‘LogStreamConsumer’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:344:54: error: ‘endl’ is not a member of ‘std’
gLogVerbose << "DCN Plugin terminate done" << std::endl;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:344:54: note: suggested alternative: ‘end’
gLogVerbose << "DCN Plugin terminate done" << std::endl;
^~~~
end
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:347:8: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
size_t ModulatedDeformableConvPluginDynamic::getSerializationSize() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:347:69: error: non-member function ‘size_t nvinfer1::getSerializationSize()’ cannot have cv-qualifier
size_t ModulatedDeformableConvPluginDynamic::getSerializationSize() const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘size_t nvinfer1::getSerializationSize()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:348:51: error: ‘mType’ was not declared in this scope
size_t wordSize = samplesCommon::getElementSize(mType);
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:349:21: error: ‘mNumParamsW’ was not declared in this scope
return wordSize * mNumParamsW + wordSize * mNumParamsB + sizeof(mType) +
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:349:46: error: ‘mNumParamsB’ was not declared in this scope
return wordSize * mNumParamsW + wordSize * mNumParamsB + sizeof(mType) +
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:350:17: error: ‘mOutDim’ was not declared in this scope
sizeof(mOutDim) + sizeof(mKernelSize) + sizeof(mNumParamsW) +
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:350:35: error: ‘mKernelSize’ was not declared in this scope
sizeof(mOutDim) + sizeof(mKernelSize) + sizeof(mNumParamsW) +
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:351:39: error: ‘mStride’ was not declared in this scope
sizeof(mNumParamsB) + sizeof(mStride) + sizeof(mPadding) +
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:351:39: note: suggested alternative: ‘mktime’
sizeof(mNumParamsB) + sizeof(mStride) + sizeof(mPadding) +
^~~~~~~
mktime
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:351:57: error: ‘mPadding’ was not declared in this scope
sizeof(mNumParamsB) + sizeof(mStride) + sizeof(mPadding) +
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:352:17: error: ‘mDilation’ was not declared in this scope
sizeof(mDilation) + sizeof(mDeformableGroup) + sizeof(mGroup);
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:352:37: error: ‘mDeformableGroup’ was not declared in this scope
sizeof(mDilation) + sizeof(mDeformableGroup) + sizeof(mGroup);
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:352:64: error: ‘mGroup’ was not declared in this scope
sizeof(mDilation) + sizeof(mDeformableGroup) + sizeof(mGroup);
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:352:64: note: suggested alternative: ‘strdup’
sizeof(mDilation) + sizeof(mDeformableGroup) + sizeof(mGroup);
^~~~~~
strdup
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:355:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
void ModulatedDeformableConvPluginDynamic::serialize(void *buffer) const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:355:68: error: non-member function ‘void nvinfer1::serialize(void*)’ cannot have cv-qualifier
void ModulatedDeformableConvPluginDynamic::serialize(void *buffer) const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::serialize(void*)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:356:28: error: ‘mType’ was not declared in this scope
serialize_value(&buffer, mType);
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:357:28: error: ‘mOutDim’ was not declared in this scope
serialize_value(&buffer, mOutDim);
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:358:28: error: ‘mKernelSize’ was not declared in this scope
serialize_value(&buffer, mKernelSize);
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:359:28: error: ‘mNumParamsW’ was not declared in this scope
serialize_value(&buffer, mNumParamsW);
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:360:28: error: ‘mNumParamsB’ was not declared in this scope
serialize_value(&buffer, mNumParamsB);
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:362:28: error: ‘mStride’ was not declared in this scope
serialize_value(&buffer, mStride);
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:362:28: note: suggested alternative: ‘mktime’
serialize_value(&buffer, mStride);
^~~~~~~
mktime
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:363:28: error: ‘mPadding’ was not declared in this scope
serialize_value(&buffer, mPadding);
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:364:28: error: ‘mDilation’ was not declared in this scope
serialize_value(&buffer, mDilation);
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:365:28: error: ‘mDeformableGroup’ was not declared in this scope
serialize_value(&buffer, mDeformableGroup);
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:366:28: error: ‘mGroup’ was not declared in this scope
serialize_value(&buffer, mGroup);
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:366:28: note: suggested alternative: ‘strdup’
serialize_value(&buffer, mGroup);
^~~~~~
strdup
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:370:18: error: ‘mW’ was not declared in this scope
serFromHost(d, mW.values, mNumParamsW * wordSize);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:370:3: error: ‘serFromHost’ was not declared in this scope
serFromHost(d, mW.values, mNumParamsW * wordSize);
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:370:3: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:72:13: note: ‘nvinfer1::serFromHost’
inline void serFromHost(char *&buffer, const T *data, size_t nbElem) {
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:371:18: error: ‘mB’ was not declared in this scope
serFromHost(d, mB.values, mNumParamsB * wordSize);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:374:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
void ModulatedDeformableConvPluginDynamic::destroy() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::destroy()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:376:10: error: invalid use of ‘this’ in non-member function
delete this;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:379:6: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
void ModulatedDeformableConvPluginDynamic::setPluginNamespace(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::setPluginNamespace(const char*)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:381:3: error: ‘mNamespace’ was not declared in this scope
mNamespace = libNamespace;
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:381:3: note: suggested alternative: ‘libNamespace’
mNamespace = libNamespace;
^~~~~~~~~~
libNamespace
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:384:13: error: ‘ModulatedDeformableConvPluginDynamic’ has not been declared
const char *ModulatedDeformableConvPluginDynamic::getPluginNamespace() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:384:72: error: non-member function ‘const char* nvinfer1::getPluginNamespace()’ cannot have cv-qualifier
const char *ModulatedDeformableConvPluginDynamic::getPluginNamespace() const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginNamespace()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:385:10: error: ‘mNamespace’ was not declared in this scope
return mNamespace.c_str();
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:385:10: note: suggested alternative: ‘_ISwspace’
return mNamespace.c_str();
^~~~~~~~~~
_ISwspace
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:390:1: error: ‘ModulatedDeformableConvPluginDynamicCreator’ does not name a type
ModulatedDeformableConvPluginDynamicCreator::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:396:13: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
const char *ModulatedDeformableConvPluginDynamicCreator::getPluginName() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:396:74: error: non-member function ‘const char* nvinfer1::getPluginName()’ cannot have cv-qualifier
const char *ModulatedDeformableConvPluginDynamicCreator::getPluginName() const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginName()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:397:10: error: ‘DCN_NAME’ was not declared in this scope
return DCN_NAME;
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:397:10: note: suggested alternatives:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:18:20: note: ‘amirstan::plugin::{anonymous}::DCN_NAME’
static const char *DCN_NAME{"ModulatedDeformableConvPluginDynamic"};
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:18:20: note: ‘amirstan::plugin::{anonymous}::DCN_NAME’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:400:13: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
const char *ModulatedDeformableConvPluginDynamicCreator::getPluginVersion()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:401:5: error: non-member function ‘const char* nvinfer1::getPluginVersion()’ cannot have cv-qualifier
const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginVersion()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:401:5: error: ‘const char* nvinfer1::getPluginVersion()’ conflicts with a previous declaration
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:294:13: note: previous declaration ‘const char* nvinfer1::getPluginVersion()’
const char *ModulatedDeformableConvPluginDynamic::getPluginVersion() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:402:10: error: ‘DCN_VERSION’ was not declared in this scope
return DCN_VERSION;
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:402:10: note: suggested alternatives:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:17:20: note: ‘amirstan::plugin::{anonymous}::DCN_VERSION’
static const char *DCN_VERSION{"1"};
^~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:17:20: note: ‘amirstan::plugin::{anonymous}::DCN_VERSION’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:406:1: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
ModulatedDeformableConvPluginDynamicCreator::getFieldNames() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const nvinfer1::PluginFieldCollection* nvinfer1::getFieldNames()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:407:11: error: ‘mFC’ was not declared in this scope
return &mFC;
^~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:407:11: note: suggested alternative:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:21:23: note: ‘amirstan::plugin::mFC’
PluginFieldCollection ModulatedDeformableConvPluginDynamicCreator::mFC{};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:410:12: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
IPluginV2 *ModulatedDeformableConvPluginDynamicCreator::createPlugin(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘nvinfer1::IPluginV2* nvinfer1::createPlugin(const char*, const nvinfer1::PluginFieldCollection*)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:416:34: warning: missing initializer for member ‘nvinfer1::Dims::type’ [-Wmissing-field-initializers]
nvinfer1::Dims stride{2, {1, 1}};
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:417:35: warning: missing initializer for member ‘nvinfer1::Dims::type’ [-Wmissing-field-initializers]
nvinfer1::Dims padding{2, {0, 0}};
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:418:36: warning: missing initializer for member ‘nvinfer1::Dims::type’ [-Wmissing-field-initializers]
nvinfer1::Dims dilation{2, {1, 1}};
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:479:16: error: ‘fieldTypeToDataType’ was not declared in this scope
W.type = fieldTypeToDataType(fc->fields[i].type);
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:479:16: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:78:27: note: ‘nvinfer1::fieldTypeToDataType’
inline nvinfer1::DataType fieldTypeToDataType(
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:486:16: error: ‘fieldTypeToDataType’ was not declared in this scope
B.type = fieldTypeToDataType(fc->fields[i].type);
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:486:16: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:78:27: note: ‘nvinfer1::fieldTypeToDataType’
inline nvinfer1::DataType fieldTypeToDataType(
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:491:15: error: no match for ‘operator<<’ (operand types are ‘LogStreamConsumer’ and ‘const char [25]’)
gLogError << "Invalid output dimension" << std::endl;
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: candidate: std::ostream& nvinfer1::operator<<(std::ostream&, const nvinfer1::Dims&)
inline std::ostream& operator<<(std::ostream& os, const nvinfer1::Dims& dims) {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: no known conversion for argument 1 from ‘LogStreamConsumer’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:491:53: error: ‘endl’ is not a member of ‘std’
gLogError << "Invalid output dimension" << std::endl;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:491:53: note: suggested alternative: ‘end’
gLogError << "Invalid output dimension" << std::endl;
^~~~
end
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:494:15: error: no match for ‘operator<<’ (operand types are ‘LogStreamConsumer’ and ‘const char [16]’)
gLogError << "Invalid type id" << typeId << std::endl;
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: candidate: std::ostream& nvinfer1::operator<<(std::ostream&, const nvinfer1::Dims&)
inline std::ostream& operator<<(std::ostream& os, const nvinfer1::Dims& dims) {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: no known conversion for argument 1 from ‘LogStreamConsumer’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:494:54: error: ‘endl’ is not a member of ‘std’
gLogError << "Invalid type id" << typeId << std::endl;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:494:54: note: suggested alternative: ‘end’
gLogError << "Invalid type id" << typeId << std::endl;
^~~~
end
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:497:15: error: no match for ‘operator<<’ (operand types are ‘LogStreamConsumer’ and ‘const char [16]’)
gLogError << "Invalid weights" << std::endl;
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/amirCommon.h:5:0,
from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:8:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: candidate: std::ostream& nvinfer1::operator<<(std::ostream&, const nvinfer1::Dims&)
inline std::ostream& operator<<(std::ostream& os, const nvinfer1::Dims& dims) {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/common/common.h:789:22: note: no known conversion for argument 1 from ‘LogStreamConsumer’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:497:44: error: ‘endl’ is not a member of ‘std’
gLogError << "Invalid weights" << std::endl;
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:497:44: note: suggested alternative: ‘end’
gLogError << "Invalid weights" << std::endl;
^~~~
end
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:501:3: error: ‘ModulatedDeformableConvPluginDynamic’ was not declared in this scope
ModulatedDeformableConvPluginDynamic *plugin =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:501:3: note: suggested alternative:
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:2:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/include/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.h:14:7: note: ‘amirstan::plugin::ModulatedDeformableConvPluginDynamic’
class ModulatedDeformableConvPluginDynamic
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:501:48: error: expected primary-expression before ‘=’ token
ModulatedDeformableConvPluginDynamic *plugin =
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:502:11: error: expected type-specifier before ‘ModulatedDeformableConvPluginDynamic’
new ModulatedDeformableConvPluginDynamic(name, type, outDims, kernelSize,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:504:9: error: expected primary-expression before ‘->’ token
plugin->setPluginNamespace(getPluginNamespace());
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:504:30: error: ‘getPluginNamespace’ was not declared in this scope
plugin->setPluginNamespace(getPluginNamespace());
^~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:504:30: note: suggested alternative:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:384:13: note: ‘nvinfer1::getPluginNamespace’
const char *ModulatedDeformableConvPluginDynamic::getPluginNamespace() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:505:9: error: expected primary-expression before ‘->’ token
plugin->setStrideNd(stride);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:506:9: error: expected primary-expression before ‘->’ token
plugin->setPaddingNd(padding);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:507:9: error: expected primary-expression before ‘->’ token
plugin->setDilationNd(dilation);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:508:9: error: expected primary-expression before ‘->’ token
plugin->setDeformableGroup(deformableGroup);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:509:9: error: expected primary-expression before ‘->’ token
plugin->setGroup(group);
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:511:16: error: expected primary-expression before ‘;’ token
return plugin;
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:500:12: warning: unused variable ‘type’ [-Wunused-variable]
DataType type = static_cast<DataType>(typeId);
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:411:17: warning: unused parameter ‘name’ [-Wunused-parameter]
const char *name, const PluginFieldCollection *fc) {
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:514:12: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
IPluginV2 *ModulatedDeformableConvPluginDynamicCreator::deserializePlugin(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘nvinfer1::IPluginV2* nvinfer1::deserializePlugin(const char*, const void*, size_t)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:519:11: error: expected type-specifier before ‘ModulatedDeformableConvPluginDynamic’
new ModulatedDeformableConvPluginDynamic(name, serialData, serialLength);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:520:30: error: ‘getPluginNamespace’ was not declared in this scope
plugin->setPluginNamespace(getPluginNamespace());
^~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:520:30: note: suggested alternative:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:384:13: note: ‘nvinfer1::getPluginNamespace’
const char *ModulatedDeformableConvPluginDynamic::getPluginNamespace() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:515:17: warning: unused parameter ‘name’ [-Wunused-parameter]
const char *name, const void *serialData, size_t serialLength) {
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:515:35: warning: unused parameter ‘serialData’ [-Wunused-parameter]
const char *name, const void *serialData, size_t serialLength) {
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:515:54: warning: unused parameter ‘serialLength’ [-Wunused-parameter]
const char *name, const void *serialData, size_t serialLength) {
^~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:524:6: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
void ModulatedDeformableConvPluginDynamicCreator::setPluginNamespace(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘void nvinfer1::setPluginNamespace(const char*)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:525:29: error: ‘void nvinfer1::setPluginNamespace(const char*)’ conflicts with a previous declaration
const char *libNamespace) {
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:379:6: note: previous declaration ‘void nvinfer1::setPluginNamespace(const char*)’
void ModulatedDeformableConvPluginDynamic::setPluginNamespace(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:526:3: error: ‘mNamespace’ was not declared in this scope
mNamespace = libNamespace;
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:526:3: note: suggested alternative: ‘libNamespace’
mNamespace = libNamespace;
^~~~~~~~~~
libNamespace
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:529:13: error: ‘ModulatedDeformableConvPluginDynamicCreator’ has not been declared
const char *ModulatedDeformableConvPluginDynamicCreator::getPluginNamespace()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:530:5: error: non-member function ‘const char* nvinfer1::getPluginNamespace()’ cannot have cv-qualifier
const {
^~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘const char* nvinfer1::getPluginNamespace()’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:530:5: error: ‘const char* nvinfer1::getPluginNamespace()’ conflicts with a previous declaration
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:384:13: note: previous declaration ‘const char* nvinfer1::getPluginNamespace()’
const char *ModulatedDeformableConvPluginDynamic::getPluginNamespace() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:531:10: error: ‘mNamespace’ was not declared in this scope
return mNamespace.c_str();
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:531:10: note: suggested alternative: ‘_ISwspace’
return mNamespace.c_str();
^~~~~~~~~~
_ISwspace
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: In function ‘bool nvinfer1::supportsFormatCombination(int, const nvinfer1::PluginTensorDesc*, int, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:202:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:18:20: warning: ‘amirstan::plugin::{anonymous}::DCN_NAME’ defined but not used [-Wunused-variable]
static const char *DCN_NAME{"ModulatedDeformableConvPluginDynamic"};
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/deformableConvPlugin/modulatedDeformableConvPlugin.cpp:17:20: warning: ‘amirstan::plugin::{anonymous}::DCN_VERSION’ defined but not used [-Wunused-variable]
static const char *DCN_VERSION{"1"};
^~~~~~~~~~~
src/plugin/deformableConvPlugin/CMakeFiles/deformableConvPlugin_static.dir/build.make:258: recipe for target 'src/plugin/deformableConvPlugin/CMakeFiles/deformableConvPlugin_static.dir/modulatedDeformableConvPlugin.cpp.o' failed
make[2]: *** [src/plugin/deformableConvPlugin/CMakeFiles/deformableConvPlugin_static.dir/modulatedDeformableConvPlugin.cpp.o] Error 1
CMakeFiles/Makefile2:278: recipe for target 'src/plugin/deformableConvPlugin/CMakeFiles/deformableConvPlugin_static.dir/all' failed
make[1]: *** [src/plugin/deformableConvPlugin/CMakeFiles/deformableConvPlugin_static.dir/all] Error 2
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/common.cu: In function ‘const char* cublasGetErrorString(cublasStatus_t)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/common.cu:138:8: warning: enumeration value ‘CUBLAS_STATUS_NOT_SUPPORTED’ not handled in switch [-Wswitch]
switch (error) {
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/common.cu:138:8: warning: enumeration value ‘CUBLAS_STATUS_LICENSE_ERROR’ not handled in switch [-Wswitch]
Scanning dependencies of target batchedNMSPlugin_static
[ 37%] Building CXX object src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/batchedNMSInference.cpp.o
[ 38%] Building CXX object src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/kernel.cpp.o
[ 40%] Building CXX object src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/batchedNMSPlugin.cpp.o
[ 41%] Building CXX object src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/nmsHelper.cpp.o
In file included from /home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:17:0:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:27:53: error: expected class-name before ‘{’ token
class BatchedNMSPlugin : public IPluginV2DynamicExt {
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:37:13: error: ‘DimsExprs’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::DimsExprs getOutputDimensions(
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:45:43: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
size_t getWorkspaceSize(const nvinfer1::PluginTensorDesc* inputs,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:47:43: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* outputs,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:50:31: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
int enqueue(const nvinfer1::PluginTensorDesc* inputDesc,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:51:31: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* outputDesc,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:59:40: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
void configurePlugin(const nvinfer1::DynamicPluginTensorDesc* inputs,
^~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:61:40: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::DynamicPluginTensorDesc* outputs,
^~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:65:50: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* inOut,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:74:3: error: ‘IPluginV2DynamicExt’ does not name a type; did you mean ‘IPluginV2Ext’?
IPluginV2DynamicExt* clone() const override;
^~~~~~~~~~~~~~~~~~~
IPluginV2Ext
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:96:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::canBroadcastInputAcrossBatch;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:97:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::configurePlugin;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:98:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::enqueue;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:99:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::getOutputDimensions;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:100:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::getWorkspaceSize;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:101:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::isOutputBroadcastAcrossBatch;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:102:19: error: ‘nvinfer1::IPluginV2DynamicExt’ has not been declared
using nvinfer1::IPluginV2DynamicExt::supportsFormat;
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:33:3: error: ‘nvinfer1::plugin::BatchedNMSPlugin::~BatchedNMSPlugin()’ marked ‘override’, but does not override
~BatchedNMSPlugin() override = default;
^
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:35:7: error: ‘int nvinfer1::plugin::BatchedNMSPlugin::getNbOutputs() const’ marked ‘override’, but does not override
int getNbOutputs() const override;
^~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:41:7: error: ‘int nvinfer1::plugin::BatchedNMSPlugin::initialize()’ marked ‘override’, but does not override
int initialize() override;
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:43:8: error: ‘void nvinfer1::plugin::BatchedNMSPlugin::terminate()’ marked ‘override’, but does not override
void terminate() override;
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:45:10: error: ‘size_t nvinfer1::plugin::BatchedNMSPlugin::getWorkspaceSize(const int*, int, const int*, int) const’ marked ‘override’, but does not override
size_t getWorkspaceSize(const nvinfer1::PluginTensorDesc* inputs,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:50:7: error: ‘int nvinfer1::plugin::BatchedNMSPlugin::enqueue(const int*, const int*, const void* const*, void* const*, void*, cudaStream_t)’ marked ‘override’, but does not override
int enqueue(const nvinfer1::PluginTensorDesc* inputDesc,
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:55:10: error: ‘size_t nvinfer1::plugin::BatchedNMSPlugin::getSerializationSize() const’ marked ‘override’, but does not override
size_t getSerializationSize() const override;
^~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:57:8: error: ‘void nvinfer1::plugin::BatchedNMSPlugin::serialize(void*) const’ marked ‘override’, but does not override
void serialize(void* buffer) const override;
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:59:8: error: ‘void nvinfer1::plugin::BatchedNMSPlugin::configurePlugin(const int*, int, const int*, int)’ marked ‘override’, but does not override
void configurePlugin(const nvinfer1::DynamicPluginTensorDesc* inputs,
^~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:64:8: error: ‘bool nvinfer1::plugin::BatchedNMSPlugin::supportsFormatCombination(int, const int*, int, int)’ marked ‘override’, but does not override
bool supportsFormatCombination(int pos,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:68:15: error: ‘const char* nvinfer1::plugin::BatchedNMSPlugin::getPluginType() const’ marked ‘override’, but does not override
const char* getPluginType() const override;
^~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:70:15: error: ‘const char* nvinfer1::plugin::BatchedNMSPlugin::getPluginVersion() const’ marked ‘override’, but does not override
const char* getPluginVersion() const override;
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:72:8: error: ‘void nvinfer1::plugin::BatchedNMSPlugin::destroy()’ marked ‘override’, but does not override
void destroy() override;
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:76:22: error: ‘nvinfer1::DataType nvinfer1::plugin::BatchedNMSPlugin::getOutputDataType(int, const nvinfer1::DataType*, int) const’ marked ‘override’, but does not override
nvinfer1::DataType getOutputDataType(int index,
^~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:80:8: error: ‘void nvinfer1::plugin::BatchedNMSPlugin::setPluginNamespace(const char*)’ marked ‘override’, but does not override
void setPluginNamespace(const char* libNamespace) override;
^~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.h:82:15: error: ‘const char* nvinfer1::plugin::BatchedNMSPlugin::getPluginNamespace() const’ marked ‘override’, but does not override
const char* getPluginNamespace() const override;
^~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSInference.cpp: In function ‘pluginStatus_t nmsInference(cudaStream_t, int, int, int, bool, int, int, int, int, int, float, float, nvinfer1::DataType, const void*, nvinfer1::DataType, const void*, void*, void*, void*, void*, void*, bool, bool, bool)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSInference.cpp:28:20: warning: unused parameter ‘DT_BBOX’ [-Wunused-parameter]
const DataType DT_BBOX, const void* locData, const DataType DT_SCORE,
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSInference.cpp:28:65: warning: unused parameter ‘DT_SCORE’ [-Wunused-parameter]
const DataType DT_BBOX, const void* locData, const DataType DT_SCORE,
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:62:11: error: ‘DimsExprs’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::DimsExprs BatchedNMSPlugin::getOutputDimensions(
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:101:21: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* inputs, int nbInputs,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:102:21: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* outputs, int nbOutputs) const {
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘size_t nvinfer1::plugin::BatchedNMSPlugin::getWorkspaceSize(const int*, int, const int*, int) const’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:103:33: error: request for member ‘dims’ in ‘* inputs’, which is of non-class type ‘const int’
size_t batch_size = inputs[0].dims.d[0];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:105:17: error: request for member ‘dims’ in ‘* inputs’, which is of non-class type ‘const int’
inputs[0].dims.d[1] * inputs[0].dims.d[2] * inputs[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:105:39: error: request for member ‘dims’ in ‘* inputs’, which is of non-class type ‘const int’
inputs[0].dims.d[1] * inputs[0].dims.d[2] * inputs[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:105:61: error: request for member ‘dims’ in ‘* inputs’, which is of non-class type ‘const int’
inputs[0].dims.d[1] * inputs[0].dims.d[2] * inputs[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:106:33: error: request for member ‘dims’ in ‘*(inputs + 4)’, which is of non-class type ‘const int’
size_t score_size = inputs[1].dims.d[1] * inputs[1].dims.d[2];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:106:55: error: request for member ‘dims’ in ‘*(inputs + 4)’, which is of non-class type ‘const int’
size_t score_size = inputs[1].dims.d[1] * inputs[1].dims.d[2];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:107:33: error: request for member ‘dims’ in ‘* inputs’, which is of non-class type ‘const int’
size_t num_priors = inputs[0].dims.d[1];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:101:51: warning: unused parameter ‘nbInputs’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc* inputs, int nbInputs,
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:102:39: warning: unused parameter ‘outputs’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc* outputs, int nbOutputs) const {
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:102:52: warning: unused parameter ‘nbOutputs’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc* outputs, int nbOutputs) const {
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:113:47: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
int BatchedNMSPlugin::enqueue(const nvinfer1::PluginTensorDesc* inputDesc,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:114:47: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::PluginTensorDesc* outputDesc,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘int nvinfer1::plugin::BatchedNMSPlugin::enqueue(const int*, const int*, const void* const*, void* const*, void*, cudaStream_t)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:125:36: error: request for member ‘dims’ in ‘* inputDesc’, which is of non-class type ‘const int’
size_t batch_size = inputDesc[0].dims.d[0];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:127:20: error: request for member ‘dims’ in ‘* inputDesc’, which is of non-class type ‘const int’
inputDesc[0].dims.d[1] * inputDesc[0].dims.d[2] * inputDesc[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:127:45: error: request for member ‘dims’ in ‘* inputDesc’, which is of non-class type ‘const int’
inputDesc[0].dims.d[1] * inputDesc[0].dims.d[2] * inputDesc[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:127:70: error: request for member ‘dims’ in ‘* inputDesc’, which is of non-class type ‘const int’
inputDesc[0].dims.d[1] * inputDesc[0].dims.d[2] * inputDesc[0].dims.d[3];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:128:36: error: request for member ‘dims’ in ‘*(inputDesc + 4)’, which is of non-class type ‘const int’
size_t score_size = inputDesc[1].dims.d[1] * inputDesc[1].dims.d[2];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:128:61: error: request for member ‘dims’ in ‘*(inputDesc + 4)’, which is of non-class type ‘const int’
size_t score_size = inputDesc[1].dims.d[1] * inputDesc[1].dims.d[2];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:129:36: error: request for member ‘dims’ in ‘* inputDesc’, which is of non-class type ‘const int’
size_t num_priors = inputDesc[0].dims.d[1];
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:114:65: warning: unused parameter ‘outputDesc’ [-Wunused-parameter]
const nvinfer1::PluginTensorDesc* outputDesc,
^~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:159:21: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::DynamicPluginTensorDesc* inputs, int nbInputs,
^~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:160:21: error: ‘DynamicPluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
const nvinfer1::DynamicPluginTensorDesc* outputs, int nbOutputs) {
^~~~~~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘void nvinfer1::plugin::BatchedNMSPlugin::configurePlugin(const int*, int, const int*, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:159:46: warning: unused parameter ‘inputs’ [-Wunused-parameter]
const nvinfer1::DynamicPluginTensorDesc* inputs, int nbInputs,
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:159:58: warning: unused parameter ‘nbInputs’ [-Wunused-parameter]
const nvinfer1::DynamicPluginTensorDesc* inputs, int nbInputs,
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:160:46: warning: unused parameter ‘outputs’ [-Wunused-parameter]
const nvinfer1::DynamicPluginTensorDesc* outputs, int nbOutputs) {
^~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:160:59: warning: unused parameter ‘nbOutputs’ [-Wunused-parameter]
const nvinfer1::DynamicPluginTensorDesc* outputs, int nbOutputs) {
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:165:30: error: ‘PluginTensorDesc’ in namespace ‘nvinfer1’ does not name a type
int pos, const nvinfer1::PluginTensorDesc* inOut, int nbInputs,
^~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘bool nvinfer1::plugin::BatchedNMSPlugin::supportsFormatCombination(int, const int*, int, int)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:170:23: error: request for member ‘type’ in ‘*(inOut + ((sizetype)(((long unsigned int)pos) * 4)))’, which is of non-class type ‘const int’
return inOut[pos].type == nvinfer1::DataType::kINT32 &&
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:171:23: error: request for member ‘format’ in ‘*(inOut + ((sizetype)(((long unsigned int)pos) * 4)))’, which is of non-class type ‘const int’
inOut[pos].format == nvinfer1::TensorFormat::kLINEAR;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:171:43: error: ‘nvinfer1::TensorFormat’ has not been declared
inOut[pos].format == nvinfer1::TensorFormat::kLINEAR;
^~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:173:21: error: request for member ‘type’ in ‘*(inOut + ((sizetype)(((long unsigned int)pos) * 4)))’, which is of non-class type ‘const int’
return inOut[pos].type == nvinfer1::DataType::kFLOAT &&
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:174:21: error: request for member ‘format’ in ‘*(inOut + ((sizetype)(((long unsigned int)pos) * 4)))’, which is of non-class type ‘const int’
inOut[pos].format == nvinfer1::TensorFormat::kLINEAR;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:174:41: error: ‘nvinfer1::TensorFormat’ has not been declared
inOut[pos].format == nvinfer1::TensorFormat::kLINEAR;
^~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:167:15: warning: unused variable ‘in’ [-Wunused-variable]
const auto* in = inOut;
^~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:168:15: warning: unused variable ‘out’ [-Wunused-variable]
const auto* out = inOut + nbInputs;
^~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:166:9: warning: unused parameter ‘nbOutputs’ [-Wunused-parameter]
int nbOutputs) {
^~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: At global scope:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:185:1: error: ‘IPluginV2DynamicExt’ does not name a type
IPluginV2DynamicExt* BatchedNMSPlugin::clone() const {
^~~~~~~~~~~~~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘nvinfer1::DataType nvinfer1::plugin::BatchedNMSPlugin::getOutputDataType(int, const nvinfer1::DataType*, int) const’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:204:58: warning: unused parameter ‘nbInputs’ [-Wunused-parameter]
int index, const nvinfer1::DataType* inputTypes, int nbInputs) const {
^~~~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘virtual nvinfer1::IPluginV2Ext* nvinfer1::plugin::BatchedNMSPluginCreator::createPlugin(const char*, const nvinfer1::PluginFieldCollection*)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:297:10: error: cannot convert ‘nvinfer1::plugin::BatchedNMSPlugin*’ to ‘nvinfer1::IPluginV2Ext*’ in return
return plugin;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:261:17: warning: unused parameter ‘name’ [-Wunused-parameter]
const char* name, const PluginFieldCollection* fc) {
^~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp: In member function ‘virtual nvinfer1::IPluginV2Ext* nvinfer1::plugin::BatchedNMSPluginCreator::deserializePlugin(const char*, const void*, size_t)’:
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:307:10: error: cannot convert ‘nvinfer1::plugin::BatchedNMSPlugin*’ to ‘nvinfer1::IPluginV2Ext*’ in return
return plugin;
^~~~~~
/home/sycv/workplace/pengyuzhou/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:300:70: warning: unused parameter ‘name’ [-Wunused-parameter]
IPluginV2Ext* BatchedNMSPluginCreator::deserializePlugin(const char* name,
^~~~
src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/build.make:2253: recipe for target 'src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/batchedNMSPlugin.cpp.o' failed
make[2]: *** [src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/batchedNMSPlugin.cpp.o] Error 1
CMakeFiles/Makefile2:718: recipe for target 'src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/all' failed
make[1]: *** [src/plugin/batchedNMSPlugin/CMakeFiles/batchedNMSPlugin_static.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
hello, now I want to use cuda10.2 TensorRT7.0, and I get a lot of conflicts and error message when I make file:
I changed the CMakeLists.txt as following, I changed cuda include dirs and set tensorrt path dir:
I use cmake -DTENSORRT_DIR=/home/sycv/workplace/pengyuzhou/TensorRT-7.0.0.11 .. generate makefiles.
then I use make -j10, it occurred a number of errors as following:
Can you give me some advice? thanks a lot