* yolov8 p2 * yolov8 p2 * yolov8 p2 * yolov8 p2 * Update yolov8_det.cpp * Update model.cpp * Update model.cpp * Update model.cpp * Update model.cpp
24 lines
1.4 KiB
C++
24 lines
1.4 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);
|