Segmentation fault (core dumped) while trying to convert to TensorRT on Jetson Nano

See original GitHub issue

Hi, I’m trying to export my custom model to TensorRT on Jetson Nano, but when I tried this command:

python3 tools/trt.py -f ~/project/YOLOX/exps/default/yolox_s.py -c best_ckpt.pth.tar

It throws an error: Segmentation fault (core dumped)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
zxy-zzzcommented, Aug 18, 2021

How to add tensorrt log?

in trt.py change max_workspace_size=(1 << 32) into max_workspace_size=(1 << 28), or smaller, in order to reduce memory usage.

0reactions
tulbureandreitcommented, Feb 10, 2022

@yusufpraditya could you provide more details please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation Fault (core dumped) occurs when YOLOX is ...
Segmentation Fault (core dumped) occurs when YOLOX is converted to TensorRT. I tried to convert YOLOX-nano. pth model to TensorRT with Jetson ......
Read more >
Onnx to tensorrt arcface model conversion error on jetson ...
I am converting arcface model of onnx version to tensorrt. I am following the official nvidia document for the process. But,I am getting...
Read more >
Getting started with PyTorch and TensorRT - IBM
Due to a compiler mismatch with the NVIDIA supplied TensorRT ONNX Python bindings and the one used to compile the fc_plugin example code...
Read more >
Running PyTorch Models on Jetson Nano
TensorRT, an SDK for high-performance inference from NVIDIA that requires the conversion of a PyTorch model to ONNX, and then to the ...
Read more >
Face Recognition: ONNX to TensorRT conversion for Arcface ...
I fail to run TensorRT inference on Jetson Nano, due to PReLU activation ... After running the script, we get some error “Segmentation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found