-
Notifications
You must be signed in to change notification settings - Fork 154
I got a big error #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Airyzf. This is likely an API discrepancy between TensorRT 3 and TensorRT 4. Could you try compiling after checking out the branch trt_4plus?
Thanks, |
thanks, it works. |
I got an other problem. I collected some data ,trained with yolov3 model and output a "yolov3.pb" file. |
I don't have experience with YoloV3 specifically, but it may help to visualize the frozen graph using Tensorboard. There should be plenty of documentation on this but I'm happy to provide more details if needed. John |
Also, note that many object detection models have layers that are not natively supported by TensorRT. For these cases it may be easiest to try using TensorRT integration inside TensorFlow. We have examples for doing this using models from the TensorFlow object detection API here https://github.com/NVIDIA-Jetson/tf_trt_models John |
ok,thanks |
Hi,John python scripts/convert_plan.py data/frozen_graphs/test.h5.pb data/plans/test.h5.pb.plan input 416 416 output_node0 1 0 float Traceback (most recent call last): |
I have Tensor RT 5.0.6 included in Jetpack for Xavier. |
I also have same problem. =============================== |
nvidia@tegra-ubuntu:
/demo/tf_to_trt_image_classification/build$ cmake ../demo/tf_to_trt_image_classification/build$ make-- Configuring done
-- Generating done
-- Build files have been written to: /home/nvidia/demo/tf_to_trt_image_classification/build
nvidia@tegra-ubuntu:
[ 33%] Built target classify_image
[ 50%] Building CXX object src/CMakeFiles/uff_to_plan.dir/uff_to_plan.cpp.o
/home/nvidia/demo/tf_to_trt_image_classification/src/uff_to_plan.cpp: In function ‘int main(int, char**)’:
/home/nvidia/demo/tf_to_trt_image_classification/src/uff_to_plan.cpp:71:79: error: no matching function for call to ‘nvuffparser::IUffParser::registerInput(const char*, nvinfer1::DimsCHW)’
parser->registerInput(inputName.c_str(), DimsCHW(3, inputHeight, inputWidth));
^
In file included from /home/nvidia/demo/tf_to_trt_image_classification/src/uff_to_plan.cpp:12:0:
/usr/include/aarch64-linux-gnu/NvUffParser.h:182:18: note: candidate: virtual bool nvuffparser::IUffParser::registerInput(const char*, nvinfer1::Dims, nvuffparser::UffInputOrder)
virtual bool registerInput(const char* inputName, nvinfer1::Dims inputDims,
^
/usr/include/aarch64-linux-gnu/NvUffParser.h:182:18: note: candidate expects 3 arguments, 2 provided
src/CMakeFiles/uff_to_plan.dir/build.make:62: recipe for target 'src/CMakeFiles/uff_to_plan.dir/uff_to_plan.cpp.o' failed
make[2]: *** [src/CMakeFiles/uff_to_plan.dir/uff_to_plan.cpp.o] Error 1
CMakeFiles/Makefile2:160: recipe for target 'src/CMakeFiles/uff_to_plan.dir/all' failed
make[1]: *** [src/CMakeFiles/uff_to_plan.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
nvidia@tegra-ubuntu:~/demo/tf_to_trt_image_classification/build$
The text was updated successfully, but these errors were encountered: