Add support to YOLOv5 v4.0 and v5.0

This commit is contained in:
Marcos Luciano
2022-04-08 17:13:05 -03:00
parent 2aa52a8e8c
commit 7bcc9b62fa
6 changed files with 102 additions and 63 deletions

View File

@@ -3,9 +3,9 @@
* https://www.github.com/marcoslucianops
*/
#include "reorg_r_layer.h"
#include "reorgv5_layer.h"
nvinfer1::ILayer* reorgRLayer(
nvinfer1::ILayer* reorgV5Layer(
int layerIdx,
nvinfer1::ITensor* input,
nvinfer1::INetworkDefinition* network)

View File

@@ -3,8 +3,8 @@
* https://www.github.com/marcoslucianops
*/
#ifndef __REORG_R_LAYER_H__
#define __REORG_R_LAYER_H__
#ifndef __REORGV5_LAYER_H__
#define __REORGV5_LAYER_H__
#include <map>
#include <vector>
@@ -12,7 +12,7 @@
#include "NvInfer.h"
nvinfer1::ILayer* reorgRLayer(
nvinfer1::ILayer* reorgV5Layer(
int layerIdx,
nvinfer1::ITensor* input,
nvinfer1::INetworkDefinition* network);