Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

yolox---->tensorrt: `engine != nullptr' failed.

Open
#1,491 1 comment 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

[08/21/2022-07:30:27] [E] [TRT] Parameter check failed at: runtime.cpp::deserializeCudaEngine::30, condition: (blob) != nullptr
yolox: /data/my_cv/YOLOX/demo/TensorRT/cpp/yolox.cpp:496: int main(int, char**): Assertion `engine != nullptr' failed.
Aborted (core dumped)

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 demo/TensorRT/cpp/yolox.cpp around line 496 and the TensorRT runtime.cpp::deserializeCudaEngine error shown in the report. Reproduce the failure and determine why the engine blob is null; done means the TensorRT demo loads the engine without the assertion failing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.