Skip to content

Commit

Permalink
Fixed Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhny007 committed Jun 10, 2024
1 parent 82c2e30 commit da4467c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv10_bb_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv6_bb_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv7_bb_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class YOLOv7_instance_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv8_bb_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv8_instance_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down
2 changes: 1 addition & 1 deletion src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class YOLOv9_bb_onnx : public YoloONNX
/// \param output
/// \return
///
std::vector<tensor_rt::Result> YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
std::vector<tensor_rt::Result> GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector<float*>& outputs, cv::Size frameSize)
{
std::vector<tensor_rt::Result> resBoxes;

Expand Down

0 comments on commit da4467c

Please sign in to comment.