You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i'm receiving this error when i'm trying to compile:
/home/nvidia/jetson-inference/tensorNet.h:106:12: error: ‘Dims3’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::Dims3 mInputDims;
The text was updated successfully, but these errors were encountered:
``
[ 35%] Building CXX object CMakeFiles/jetson-inference.dir/imageNet.cpp.o
In file included from /home/nvidia/jetson-inference-gv/imageNet.h:20:0,
from /home/nvidia/jetson-inference-gv/imageNet.cpp:6:
/home/nvidia/jetson-inference-gv/tensorNet.h:106:12: error: ‘Dims3’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::Dims3 mInputDims;
^
/home/nvidia/jetson-inference-gv/tensorNet.h:111:13: error: ‘Dims3’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::Dims3 dims;
^
/home/nvidia/jetson-inference-gv/imageNet.cpp: In member function ‘bool imageNet::init(const char*, const char*, const char*, const char*, const char*, const char*)’:
/home/nvidia/jetson-inference-gv/imageNet.cpp:79:31: error: ‘__gnu_cxx::__alloc_traits<std::allocatortensorNet::outputLayer >::value_type {aka struct tensorNet::outputLayer}’ has no member named ‘dims’
mOutputClasses = mOutputs[0].dims.c;
^
/home/nvidia/jetson-inference-gv/imageNet.cpp: In member function ‘bool imageNet::init(imageNet::NetworkType)’:
/home/nvidia/jetson-inference-gv/imageNet.cpp:159:31: error: ‘__gnu_cxx::__alloc_traits<std::allocatortensorNet::outputLayer >::value_type {aka struct tensorNet::outputLayer}’ has no member named ‘dims’
mOutputClasses = mOutputs[0].dims.c;
^
CMakeFiles/jetson-inference.dir/build.make:125: recipe for target 'CMakeFiles/jetson-inference.dir/imageNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/imageNet.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-inference.dir/all' failed
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Hi i'm receiving this error when i'm trying to compile:
/home/nvidia/jetson-inference/tensorNet.h:106:12: error: ‘Dims3’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::Dims3 mInputDims;
The text was updated successfully, but these errors were encountered: