Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TensorRT Python interface and CLI #251

Merged
merged 12 commits into from
Dec 24, 2021
Merged

Add TensorRT Python interface and CLI #251

merged 12 commits into from
Dec 24, 2021

Conversation

zhiqwang
Copy link
Owner

@zhiqwang zhiqwang commented Dec 23, 2021

Add the TensorRT Python CLI for yolort:

python tools/detect.py --weights yolov5.engine
                       --source ./test/assets/bus.jpg
                       --img_size 320 320
                       --conf_thres 0.35

@zhiqwang zhiqwang added the enhancement New feature or request label Dec 23, 2021
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ zhiqwang
❌ pre-commit-ci[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov
Copy link

codecov bot commented Dec 23, 2021

Codecov Report

Merging #251 (f91f899) into main (5dd25c3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #251   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files          11       11           
  Lines         675      675           
=======================================
  Hits          632      632           
  Misses         43       43           
Flag Coverage Δ
unittests 93.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5dd25c3...f91f899. Read the comment docs.

@zhiqwang zhiqwang changed the title Fix TensorRT python interface Add TensorRT Python interface and CLI Dec 24, 2021
@zhiqwang zhiqwang added the API Library use interface label Dec 24, 2021
@zhiqwang zhiqwang merged commit 5105b37 into main Dec 24, 2021
@zhiqwang zhiqwang deleted the fix-tensorrt branch December 24, 2021 13:32
@zhiqwang zhiqwang added the deployment Inference acceleration for production label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Library use interface deployment Inference acceleration for production enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants