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

feat(autoware_tensorrt_rtmdet): add tensorrt rtmdet model #8165

Open
wants to merge 82 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
60bb4e1
feat: add tensorrt rtmdet model
StepTurtle Aug 21, 2024
0cadb80
style(pre-commit): autofix
pre-commit-ci[bot] Aug 21, 2024
2c468a1
fix: pre-commit.ci
StepTurtle Aug 21, 2024
f26073e
style(pre-commit): autofix
pre-commit-ci[bot] Aug 21, 2024
cc44e4e
chore: add prefix
StepTurtle Aug 21, 2024
8ac7f21
style(pre-commit): autofix
pre-commit-ci[bot] Aug 21, 2024
7645aed
chore: update with new message type
Aug 23, 2024
f50f19c
chore: update readme
Aug 23, 2024
a65eb73
fix: missing language specifier
Aug 25, 2024
4dc5802
style(pre-commit): autofix
pre-commit-ci[bot] Aug 25, 2024
ee14ad1
chore: standard types
Aug 27, 2024
1f46a6d
chore: use ros 2 debug functions
Aug 27, 2024
a8f9b66
chore: use smart pointer
Aug 27, 2024
6fb088d
chore: update param names
Aug 29, 2024
69a43ee
chore: add comment to parameters
Aug 29, 2024
ff2cfd0
chore: remove unused variables and functions
Aug 29, 2024
0508dff
chore: update param names
Aug 29, 2024
7e545a9
chore: use const
Aug 29, 2024
5e36db2
chore: remove unused parameter
Aug 29, 2024
0ccca7b
chore: use safe types
Aug 29, 2024
8f8a20a
style(pre-commit): autofix
pre-commit-ci[bot] Aug 27, 2024
7120220
style(pre-commit): autofix
pre-commit-ci[bot] Aug 29, 2024
d36f1ec
chore: remove unnecessary initialization
Aug 29, 2024
ff112eb
chore: remove unused variables
Aug 29, 2024
d8bcc16
fix: add missing header for mask object
Sep 3, 2024
4802802
refactor: replace [] index access with at() for safer bounds checking
Sep 3, 2024
08e0883
chore: change class array with objects classification type
Sep 7, 2024
f1cc27b
style(pre-commit): autofix
pre-commit-ci[bot] Sep 7, 2024
7ba0e29
fix: missing topic check
Sep 10, 2024
63e7f1d
style(pre-commit): autofix
pre-commit-ci[bot] Sep 10, 2024
6ca58cd
chore: remove two calibration option
Sep 10, 2024
71a891c
style(pre-commit): autofix
pre-commit-ci[bot] Sep 10, 2024
498feba
fix: image encoding
Sep 11, 2024
1a0b884
style(pre-commit): autofix
pre-commit-ci[bot] Sep 12, 2024
d123b22
chore: remove unused properties
Sep 19, 2024
24593e9
style(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2024
6eea661
refactor: remove trt_batched_nms plugin code
Sep 19, 2024
9be3558
chore: update calibrator
Sep 19, 2024
8cb7b59
docs: add comments
Sep 19, 2024
a69193e
style(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2024
8b47d32
chore: update erosion function
Sep 19, 2024
7006e89
style(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2024
941d393
fix: scale issue with cpu pre-process
Sep 19, 2024
7f52795
chore: update calibrator image stream
Sep 19, 2024
553a41b
style(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2024
22936b7
feat: add unit test
Sep 23, 2024
b2669bd
style(pre-commit): autofix
pre-commit-ci[bot] Sep 23, 2024
c08a619
chore: check linter
Sep 23, 2024
61f2e22
fix: json schema
Sep 23, 2024
43a02ef
fix: add enqueueV3 support
Sep 27, 2024
e48ac97
chore: update trt multiplier
Oct 16, 2024
4d0256b
fix: wrong prefixes
Nov 26, 2024
2827dcb
chore: remove duplicated comments
Nov 26, 2024
6bd81f1
chore: update description
Nov 26, 2024
3e356ec
refactor: remove cpu preprocess
Nov 26, 2024
0c84c27
chore: update test time limit
Nov 26, 2024
cfa8777
docs: data information
Nov 26, 2024
d8c207c
style(pre-commit): autofix
pre-commit-ci[bot] Nov 26, 2024
512175c
chore: update msgs type
Nov 26, 2024
2660c1a
fix: spellings
Nov 26, 2024
47c2498
style(pre-commit): autofix
pre-commit-ci[bot] Nov 26, 2024
cec1209
fix: spelling
Nov 26, 2024
521713f
chore: add build depend
Nov 27, 2024
b1b3508
fix: spell check
Nov 27, 2024
1ae6cb5
style(pre-commit): autofix
pre-commit-ci[bot] Nov 27, 2024
7a6620a
refactor: restructure includes
Nov 28, 2024
99d13fc
refactor: remove unused includes
Nov 28, 2024
b9772aa
refactor: remove unused variables
Nov 28, 2024
4f645ee
style(pre-commit): autofix
pre-commit-ci[bot] Nov 28, 2024
d59f2de
refactor: remove redundant declarations
Nov 29, 2024
646cf9b
refactor: remove unused macro
Dec 3, 2024
c774677
refactor: use `#pragma unroll`
Dec 3, 2024
0ff8805
style(pre-commit): autofix
pre-commit-ci[bot] Dec 3, 2024
72ad4d4
refactor: use explicit cast
Dec 3, 2024
fb13a8e
chore: remove redundant cspell
Dec 5, 2024
a8c8d47
fix: pre-commit.ci
Dec 6, 2024
cc96771
refactor: update msg type
Dec 9, 2024
01ee1a6
fix: wrong topic type
Dec 9, 2024
f573b7e
style(pre-commit): autofix
pre-commit-ci[bot] Dec 9, 2024
d881c3a
refactor: msg type
Dec 12, 2024
b1b0ad5
style(pre-commit): autofix
pre-commit-ci[bot] Dec 12, 2024
f744a8a
refactor(autoware_tensorrt_rtmdet): upgrade to new autoware_tensorrt_…
amadeuszsz Jan 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: remove unused variables
Signed-off-by: Barış Zeren <baris@leodrive.ai>
Barış Zeren authored and xmfcx committed Jan 26, 2025
commit b9772aa1ba1fdc2c565cfe6398b62a6d3de0fc4d
Original file line number Diff line number Diff line change
@@ -41,11 +41,10 @@ struct Roi
* @param[in] d_c channel for resized image
* @param[in] s_w width for input image
* @param[in] s_h height for input image
* @param[in] s_c channel for input image
* @param[in] stream cuda stream
*/
extern void resize_bilinear_gpu(
unsigned char * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h, int s_c,
unsigned char * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h,
cudaStream_t stream);

/**
@@ -54,14 +53,12 @@ extern void resize_bilinear_gpu(
* @param[in] src image
* @param[in] d_w width for letterbox-ing
* @param[in] d_h height for letterbox-ing
* @param[in] d_c channel for letterbox-ing
* @param[in] s_w width for input image
* @param[in] s_h height for input image
* @param[in] s_c channel for input image
* @param[in] stream cuda stream
*/
extern void letterbox_gpu(
unsigned char * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h, int s_c,
unsigned char * dst, unsigned char * src, int d_w, int d_h, int s_w, int s_h,
cudaStream_t stream);

/**
@@ -70,11 +67,10 @@ extern void letterbox_gpu(
* @param[in] src image
* @param[in] d_w width for a image
* @param[in] d_h height for a image
* @param[in] d_c channel for a image
* @param[in] stream cuda stream
*/
extern void nchw_to_nhwc_gpu(
unsigned char * dst, unsigned char * src, int d_w, int d_h, int d_c, cudaStream_t stream);
unsigned char * dst, unsigned char * src, int d_w, int d_h, cudaStream_t stream);

/**
* @brief Unsigned char to float32 for inference
@@ -94,14 +90,12 @@ extern void to_float_gpu(
* @param[in] src image
* @param[in] d_w width for output
* @param[in] d_h height for output
* @param[in] d_c channel for output
* @param[in] s_w width for input
* @param[in] s_h height for input
* @param[in] s_c channel for input
* @param[in] stream cuda stream
*/
extern void resize_bilinear_letterbox_gpu(
unsigned char * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h, int s_c,
unsigned char * dst, unsigned char * src, int d_w, int d_h, int s_w, int s_h,
cudaStream_t stream);

/**
@@ -111,15 +105,13 @@ extern void resize_bilinear_letterbox_gpu(
* @param[in] src image
* @param[in] d_w width for output
* @param[in] d_h height for output
* @param[in] d_c channel for output
* @param[in] s_w width for input
* @param[in] s_h height for input
* @param[in] s_c channel for input
* @param[in] norm normalization
* @param[in] stream cuda stream
*/
extern void resize_bilinear_letterbox_nhwc_to_nchw32_gpu(
float * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h, int s_c,
float * dst, unsigned char * src, int d_w, int d_h, int s_w, int s_h,
float norm, cudaStream_t stream);

/**
@@ -129,17 +121,16 @@ extern void resize_bilinear_letterbox_nhwc_to_nchw32_gpu(
* @param[in] src image
* @param[in] d_w width for output
* @param[in] d_h height for output
* @param[in] d_c channel for output
* @param[in] s_w width for input
* @param[in] s_h height for input
* @param[in] s_c channel for input
* @param[in] batch batch size
* @param[in] norm normalization
* @param[in] mean mean value for normalization
* @param[in] std standard deviation for normalization
* @param[in] stream cuda stream
*/
extern void resize_bilinear_letterbox_nhwc_to_nchw32_batch_gpu(
float * dst, unsigned char * src, int d_w, int d_h, int d_c, int s_w, int s_h, int s_c, int batch,
float norm, cudaStream_t stream);
float * dst, unsigned char * src, int d_w, int d_h, int s_w, int s_h, int batch,
const float * mean, const float * std, cudaStream_t stream);

/**
* @brief Argmax on GPU
Loading