* Add the generation of multi-class pose engines * Change grids in forwardGpu to one-dimensional arrays * Update README.md * Update types.h keypoints array with dynamic size based on kNumberOfPoints * yolov8_5u_det(YOLOv5u with the anchor-free, objectness-free split head structure based on YOLOv8 features) model * update * fix code style * yolov8_5u_det model download link * yolov8_5u_det model download link --------- Co-authored-by: lindsayshuo <lindsayshuo@foxmail.com.com>
40 lines
2.6 KiB
C++
40 lines
2.6 KiB
C++
#pragma once
|
|
#include <assert.h>
|
|
#include <string>
|
|
#include "NvInfer.h"
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8Det(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8DetP6(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8DetP2(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8Cls(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8Seg(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8Pose(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8PoseP6(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8_5uDet(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd, float& gw,
|
|
int& max_channels);
|
|
|
|
nvinfer1::IHostMemory* buildEngineYolov8_5uDetP6(nvinfer1::IBuilder* builder, nvinfer1::IBuilderConfig* config,
|
|
nvinfer1::DataType dt, const std::string& wts_path, float& gd,
|
|
float& gw, int& max_channels);
|