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

Update TensorRT BasicHandler and add yolov5 cpp file #417

Merged
merged 15 commits into from
Jul 22, 2024

Conversation

wangzijian1010
Copy link
Collaborator

No description provided.

@DefTruth
Copy link
Owner

LGTM~

lite/trt/core/trt_core.h Outdated Show resolved Hide resolved
lite/trt/cv/trt_yolov5.cpp Show resolved Hide resolved
lite/trt/cv/trt_yolov5.cpp Outdated Show resolved Hide resolved
lite/trt/cv/trt_yolofacev8.cpp Show resolved Hide resolved
examples/lite/cv/test_lite_yolov5.cpp Outdated Show resolved Hide resolved
examples/lite/cv/test_lite_yolov5.cpp Outdated Show resolved Hide resolved
@wangzijian1010
Copy link
Collaborator Author

修改完成了大佬@DefTruth

// get the first output dim
auto pred_dims = output_node_dims[0];

float* output = new float[pred_dims[0] * pred_dims[1] * pred_dims[2]];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的内存依然没有合理释放

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改到yolov8face那个文件上去了 哈哈哈@DefTruth

@DefTruth DefTruth merged commit 6f60bb1 into DefTruth:main Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants