duan8/yolov10/include/config.h
mpj1234 17d61f4b6e
TensorRT8 support for YOLOv10 (#1561)
* TensorRT8 support for YOLOv10

* delelet images,  modify add test images in readme
2024-07-29 16:16:09 +08:00

17 lines
547 B
C

//#define USE_FP32
#define USE_FP16
// #define USE_INT8
const static char* kInputTensorName = "images";
const static char* kOutputTensorName = "output";
const static int kNumClass = 80;
const static int kBatchSize = 1;
const static int kGpuId = 0;
const static int kInputH = 640;
const static int kInputW = 640;
const static float kConfThresh = 0.5f;
const static int kMaxInputImageSize = 3000 * 3000;
const static int kMaxNumOutputBbox = 1000;
//Quantization input image folder path
const static char* kInputQuantizationFolder = "./coco_calib";