Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

Segmentation Fault (core dumped) occurs when YOLOX is converted to TensorRT.

Open
#916 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TensorRT
Dominant language
Python
Stars
10.6k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I tried to convert YOLOX-S to TensorRT with Jetson.
python3 tools/trt.py -n yolox-s -c yolox_s.pth

However, I did not succeed, just getting Segmentation Fault.
Does anyone know how to solve this problem?

My environment is as follows.

Machine: Jetson Xavier NX, Jetson AGX Xavier
OS: Ubuntu18.04LTS
JetPack: 4.5.1
CUDA: 10.2.89
cuDNN: 8.0.0.180
TensorRT: 7.1.3.0
Python: 3.6.9
torch: 1.8.0
torchvision: 0.9.0
torch2trt: 0.3.0
yolox: 0.1.0

thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the command python3 tools/trt.py -n yolox-s -c yolox_s.pth on the reported Jetson and software versions. Read tools/trt.py and capture where the segmentation fault occurs during conversion. Done means the command completes and produces a TensorRT conversion without a segmentation fault, with the environment or compatibility cause documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
computer-vision, embedded-iot, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.