Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

torch转trt时出现的问题

Open
#624 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

在使用脚本:
python tools/trt.py -n yolox-x -c yolox_x.pth的过程中出现下图所示warning,模型转换成功。
选区_621
但是使用这个脚本:
/yolox ../model_trt.engine -i ../../../../assets/dog.jpg测试时,发现结果不对,
选区_622
只有左上角有几个标签。我使用的模型是你们提供的模型直接转换的,请问这个问题会出在什么地方呢。

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 with tools/trt.py and the conversion command python tools/trt.py -n yolox-x -c yolox_x.pth, then inspect the yolox inference entry point used with model_trt.engine and the dog image. Reproduce the conversion and inference behavior, compare the output with the screenshots, and define done as correct detections rather than labels confined to the upper-left corner.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
computer-vision, 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.