Megvii-BaseDetection / YOLOX

YOLOX is a high-performance anchor-free YOLO, exceeding yolov3~v5 with MegEngine, ONNX, TensorRT, ncnn, and OpenVINO supported. Documentation: https://yolox.readthedocs.io/
Apache License 2.0
9.47k stars 2.21k forks source link

jetson nano tensorrt yolox error #820

Closed Czhazha closed 3 years ago

Czhazha commented 3 years ago

Hello, i have got an model_trt.engine on my jetson nano. Next, i run the command ./yolox model_trt.engine -i image.jpg it return an error with this log: [10/22/2021-13:09:15] [E] [TRT] Parameter check failed at: engine.cpp::getBindingDimensions::2069, condition: bindIndex >= 0 && bindIndex < getNbBindings() out_dims = 0 blob image yolox: /home/nano/Development/YOLOX/demo/TensorRT/cpp/yolox.cpp:417: void doInference(nvinfer1::IExecutionContext&, float*, float*, int, cv::Size): Assertionengine.getNbBindings() == 2' failed. Aborted (core dumped)`

Is there any reason for this? How can I fix it?

Czhazha commented 3 years ago

forget this issue... just update torch2trt can solve this problem.

Chitti21 commented 3 years ago

@Czhazha Hi, Can you share your inferred fps on Jetson Nano ? with YOLOX-tiny and YOLOX-nano

Czhazha commented 3 years ago

@Czhazha Hi, Can you share your inferred fps on Jetson Nano ? with YOLOX-tiny and YOLOX-nano

YOLOX 7fps YOLOX-nano 25fps

Chitti21 commented 3 years ago

Thanks for sharing.